Update conf.py for Nikola 7.3.x

- INDEX_TEASERS for read more links
 - deployment, galleries.
This commit is contained in:
Jonathan Harker 2015-05-03 16:02:39 +12:00
parent eb149c8390
commit 06f5260e01

View file

@ -191,6 +191,8 @@ COMPILERS = {
# output / TRANSLATION[lang] / TAG_PATH / tag.xml (RSS feed for a tag) # output / TRANSLATION[lang] / TAG_PATH / tag.xml (RSS feed for a tag)
# TAG_PATH = "categories" # TAG_PATH = "categories"
WRITE_TAG_CLOUD = True
# If TAG_PAGES_ARE_INDEXES is set to True, each tag's page will contain # If TAG_PAGES_ARE_INDEXES is set to True, each tag's page will contain
# the posts themselves. If set to False, it will be just a list of links. # the posts themselves. If set to False, it will be just a list of links.
# TAG_PAGES_ARE_INDEXES = True # TAG_PAGES_ARE_INDEXES = True
@ -242,7 +244,7 @@ COMPILERS = {
# And then do a backup, or run `nikola ping` from the `ping` # And then do a backup, or run `nikola ping` from the `ping`
# plugin (`nikola install_plugin ping`). # plugin (`nikola install_plugin ping`).
# To do manual deployment, set it to [] # To do manual deployment, set it to []
DEPLOY_COMMANDS = ['rsync -avz --delete output/* tauceti.openblue.co.nz:sites/pukeruabay/gardens/www/'] DEPLOY_COMMANDS = {'default': 'rsync -avz --delete output/* tauceti.openblue.co.nz:sites/pukeruabay/gardens/www/'}
# Where the output site should be located # Where the output site should be located
# If you don't use an absolute path, it will be considered as relative # If you don't use an absolute path, it will be considered as relative
@ -311,7 +313,7 @@ DEPLOY_COMMANDS = ['rsync -avz --delete output/* tauceti.openblue.co.nz:sites/pu
# Galleries are folders in galleries/ # Galleries are folders in galleries/
# Final location of galleries will be output / GALLERY_PATH / gallery_name # Final location of galleries will be output / GALLERY_PATH / gallery_name
GALLERY_PATH = "galleries" GALLERY_FOLDERS = {'galleries': 'galleries'}
THUMBNAIL_SIZE = 180 THUMBNAIL_SIZE = 180
MAX_IMAGE_SIZE = 1280 MAX_IMAGE_SIZE = 1280
USE_FILENAME_AS_TITLE = True USE_FILENAME_AS_TITLE = True
@ -365,7 +367,7 @@ THEME = "bootjournal"
# } # }
# Show only teasers in the index pages? Defaults to False. # Show only teasers in the index pages? Defaults to False.
# INDEX_TEASERS = False INDEX_TEASERS = True
# A HTML fragment with the Read more... link. # A HTML fragment with the Read more... link.
# The following tags exist and are replaced for you: # The following tags exist and are replaced for you: