forked from github/pelican
Merge pull request #2371 from oulenz/draft_pages
Allow pages to have draft status, like articles
This commit is contained in:
commit
ec1914d3bd
12 changed files with 108 additions and 17 deletions
|
|
@ -80,6 +80,11 @@ DEFAULT_CONFIG = {
|
|||
'PAGE_ORDER_BY': 'basename',
|
||||
'PAGE_LANG_URL': 'pages/{slug}-{lang}.html',
|
||||
'PAGE_LANG_SAVE_AS': posix_join('pages', '{slug}-{lang}.html'),
|
||||
'DRAFT_PAGE_URL': 'drafts/pages/{slug}.html',
|
||||
'DRAFT_PAGE_SAVE_AS': posix_join('drafts', 'pages', '{slug}.html'),
|
||||
'DRAFT_PAGE_LANG_URL': 'drafts/pages/{slug}-{lang}.html',
|
||||
'DRAFT_PAGE_LANG_SAVE_AS': posix_join('drafts', 'pages',
|
||||
'{slug}-{lang}.html'),
|
||||
'STATIC_URL': '{path}',
|
||||
'STATIC_SAVE_AS': '{path}',
|
||||
'STATIC_CREATE_LINKS': False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue