summaryrefslogtreecommitdiff
path: root/pelicanconf.py
diff options
context:
space:
mode:
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'