modified: pelicanconf.py

This commit is contained in:
russellballestrini 2016-05-24 18:23:49 -04:00
parent 27ae7689b4
commit 00e5d7d798

View file

@ -77,6 +77,8 @@ CATEGORY_URL = 'category/{slug}/'
TAG_URL = 'tags/{slug}/' TAG_URL = 'tags/{slug}/'
AUTHOR_URL = 'author/{slug}/' AUTHOR_URL = 'author/{slug}/'
RANDOM = 'random.html'
# Adjust save location. # Adjust save location.
ARTICLE_SAVE_AS = '{slug}/index.html' ARTICLE_SAVE_AS = '{slug}/index.html'
PAGE_SAVE_AS = '{slug}/index.html' PAGE_SAVE_AS = '{slug}/index.html'
@ -86,6 +88,9 @@ AUTHOR_SAVE_AS = 'author/{slug}/index.html'
# Setup filters and plugins. # Setup filters and plugins.
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = ['random_article']
# register filters. # register filters.
#JINJA_FILTERS = {'linkpeek':linkpeek} #JINJA_FILTERS = {'linkpeek':linkpeek}