modified: pelicanconf.py
This commit is contained in:
parent
27ae7689b4
commit
00e5d7d798
1 changed files with 5 additions and 0 deletions
|
|
@ -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}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue