summaryrefslogtreecommitdiff
path: root/pelicanconf.py
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2014-05-09 14:30:46 +0200
committerSébastien Dailly <sebastien@chimrod.com>2014-05-12 21:19:34 +0200
commitb9e22325bb46e2611a73e54a3f0ade31800d1bd9 (patch)
tree60b8aa46b47ec7fd4b8c8d62821aeef0b22be1a5 /pelicanconf.py
parent23d7fb3e69d06b718a160c3ded763e6e6fbe3240 (diff)
Moved to pelican 3.3
Diffstat (limited to 'pelicanconf.py')
-rwxr-xr-xpelicanconf.py19
1 files changed, 15 insertions, 4 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index c9b1cc2..9ded28c 100755
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -31,15 +31,26 @@ DEFAULT_PAGINATION = FEED_MAX_ITEMS
ARTICLE_URL = u'{date:%Y}/{date:%m}/{slug}/'
ARTICLE_SAVE_AS = u'{date:%Y}/{date:%m}/{slug}/index.html'
+STATIC_SAVE_AS=u'{path}'
+
STATIC_PATHS = ['images', 'resources']
THEME = 'theme'
TYPOGRIFY = True
TEMPLATE_PAGES = {'../extras/404.html': '404.html'}
-FILES_TO_COPY = (
- ('../extras/htaccess', '.htaccess'),
- ('../extras/robots.txt', 'robots.txt'),
-)
+
+STATIC_PATHS = [
+ 'images',
+ 'resources',
+ '../extras/robots.txt',
+ '../extras/htaccess',
+ ]
+
+EXTRA_PATH_METADATA = {
+ '../extras/robots.txt': {'path': 'robots.txt'},
+ '../extras/htaccess': {'path': '.htaccess'},
+ }
+
PLUGIN_PATH = 'plugins'