aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2019-04-19 23:54:44 +0200
committerDavid Runge <dave@sleepmap.de>2019-04-19 23:54:44 +0200
commitf86acaacaef1e905cfcc2f6ad7d7d93426e2295d (patch)
tree7f4de7a74f1432a148dcf8997060823248ff8703
parente1cf0ee211230fd5604d249d2c7defdb12168304 (diff)
downloadsleepmap-f86acaacaef1e905cfcc2f6ad7d7d93426e2295d.tar.gz
sleepmap-f86acaacaef1e905cfcc2f6ad7d7d93426e2295d.tar.bz2
sleepmap-f86acaacaef1e905cfcc2f6ad7d7d93426e2295d.tar.xz
sleepmap-f86acaacaef1e905cfcc2f6ad7d7d93426e2295d.zip
conf.py: Grouping new posts by year and only showing teasers on index page (if they are set in the posts).
-rw-r--r--conf.py6
1 files 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: