1
0
Fork 0
forked from github/pelican

Merge pull request #1982 from adeverteuil/feature_check_static_modified

Add static file options: hard/symlink & only-when-modified
This commit is contained in:
Justin Mayer 2017-06-22 12:49:26 -07:00 committed by GitHub
commit d4435ea874
4 changed files with 261 additions and 26 deletions

View file

@ -82,6 +82,8 @@ DEFAULT_CONFIG = {
'PAGE_LANG_SAVE_AS': posix_join('pages', '{slug}-{lang}.html'),
'STATIC_URL': '{path}',
'STATIC_SAVE_AS': '{path}',
'STATIC_CREATE_LINKS': False,
'STATIC_CHECK_IF_MODIFIED': False,
'CATEGORY_URL': 'category/{slug}.html',
'CATEGORY_SAVE_AS': posix_join('category', '{slug}.html'),
'TAG_URL': 'tag/{slug}.html',