diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-07-29 01:55:17 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-07-29 01:55:17 +0200 |
commit | 0d3acc55a114358d552c89d503d90926d3d55c8a (patch) | |
tree | ad0d14fbcf4d0fc5a5233958abb154816abe1dd5 /pelicanconf.py | |
parent | 6d02cf9cda98abb95bd1cb7d894db0c4121f827a (diff) | |
download | blog-0d3acc55a114358d552c89d503d90926d3d55c8a.zip blog-0d3acc55a114358d552c89d503d90926d3d55c8a.tar.gz blog-0d3acc55a114358d552c89d503d90926d3d55c8a.tar.bz2 |
add Impressum, robots.txt and gpg key
also change settings accordingly
Diffstat (limited to 'pelicanconf.py')
-rw-r--r-- | pelicanconf.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pelicanconf.py b/pelicanconf.py index 3caf2f3..ff8133a 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -20,6 +20,13 @@ TRANSLATION_FEED_ATOM = None AUTHOR_FEED_ATOM = None AUTHOR_FEED_RSS = None +# A list of extra files to copy from the source to the destination +# static paths will be copied under the same name +STATIC_PATHS = [ + 'images', + 'videos', + 'extras' +] EXTRA_PATH_METADATA = { 'extras/robots.txt': {'path': 'robots.txt'}, } @@ -32,6 +39,13 @@ DEFAULT_METADATA = { SHOW_ARTICLE_AUTHOR = True SHOW_DATE_MODIFIED = True +PAGE_URL = '{slug}' +PAGE_SAVE_AS = '{slug}.html' +DISPLAY_PAGES_ON_MENU = False + +# activate if there are more articles and tag page fixed +DISPLAY_TAGS_ON_SIDEBAR = False + # Blogroll LINKS = (('Pelican', 'http://getpelican.com/'), ('Python.org', 'http://python.org/'), |