From f86acaacaef1e905cfcc2f6ad7d7d93426e2295d Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 19 Apr 2019 23:54:44 +0200 Subject: conf.py: Grouping new posts by year and only showing teasers on index page (if they are set in the posts). --- conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf.py b/conf.py index 057b6be..9c2e417 100644 --- a/conf.py +++ b/conf.py @@ -358,11 +358,11 @@ COMPILERS = { # Use date-based path when creating posts? # Can be enabled on a per-post basis with `nikola new_post -d`. # The setting is ignored when creating pages. -# NEW_POST_DATE_PATH = False +NEW_POST_DATE_PATH = True # What format to use when creating posts with date paths? # Default is '%Y/%m/%d', other possibilities include '%Y' or '%Y/%m'. -# NEW_POST_DATE_PATH_FORMAT = '%Y/%m/%d' +NEW_POST_DATE_PATH_FORMAT = '%Y' # If this is set to True, the DEFAULT_LANG version will be displayed for # untranslated posts. @@ -921,7 +921,7 @@ IMAGE_FOLDERS = {'images': 'images'} # ) # Show teasers (instead of full posts) in indexes? Defaults to False. -# INDEX_TEASERS = False +INDEX_TEASERS = True # HTML fragments with the Read more... links. # The following tags exist and are replaced for you: -- cgit v1.2.3-70-g09d2