forked from github/pelican
Fix #1042 enable (sym)linking of static content and sources
This can greatly speed up generation for people with lots of static files and/or sources output.
This commit is contained in:
parent
cd40105c40
commit
25a8ab1a5f
5 changed files with 85 additions and 8 deletions
|
|
@ -39,6 +39,7 @@ DEFAULT_CONFIG = {
|
|||
'STATIC_PATHS': ['images', ],
|
||||
'THEME_STATIC_DIR': 'theme',
|
||||
'THEME_STATIC_PATHS': ['static', ],
|
||||
'STATIC_JUST_LINK': '',
|
||||
'FEED_ALL_ATOM': os.path.join('feeds', 'all.atom.xml'),
|
||||
'CATEGORY_FEED_ATOM': os.path.join('feeds', '%s.atom.xml'),
|
||||
'AUTHOR_FEED_ATOM': os.path.join('feeds', '%s.atom.xml'),
|
||||
|
|
@ -51,6 +52,7 @@ DEFAULT_CONFIG = {
|
|||
'DISPLAY_CATEGORIES_ON_MENU': True,
|
||||
'OUTPUT_SOURCES': False,
|
||||
'OUTPUT_SOURCES_EXTENSION': '.text',
|
||||
'SOURCES_JUST_LINK': '',
|
||||
'USE_FOLDER_AS_CATEGORY': True,
|
||||
'DEFAULT_CATEGORY': 'misc',
|
||||
'WITH_FUTURE_DATES': True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue