Disable rendering useless pages
This commit is contained in:
parent
6d2247b210
commit
6bed384805
|
@ -38,3 +38,14 @@ MARKDOWN = {
|
||||||
#RELATIVE_URLS = True
|
#RELATIVE_URLS = True
|
||||||
|
|
||||||
THEME = 'themes/theme'
|
THEME = 'themes/theme'
|
||||||
|
|
||||||
|
# turn off useless outputs
|
||||||
|
TAG_SAVE_AS = ''
|
||||||
|
CATEGORY_SAVE_AS = ''
|
||||||
|
AUTHOR_SAVE_AS = ''
|
||||||
|
ARCHIVES_SAVE_AS = ''
|
||||||
|
AUTHORS_SAVE_AS = ''
|
||||||
|
CATEGORIES_SAVE_AS = ''
|
||||||
|
TAGS_SAVE_AS = ''
|
||||||
|
|
||||||
|
PROD = False
|
||||||
|
|
|
@ -39,3 +39,19 @@ MARKDOWN = {
|
||||||
|
|
||||||
THEME = 'themes/theme'
|
THEME = 'themes/theme'
|
||||||
|
|
||||||
|
# turn off useless outputs
|
||||||
|
TAG_SAVE_AS = ''
|
||||||
|
CATEGORY_SAVE_AS = ''
|
||||||
|
AUTHOR_SAVE_AS = ''
|
||||||
|
ARCHIVES_SAVE_AS = ''
|
||||||
|
AUTHORS_SAVE_AS = ''
|
||||||
|
CATEGORIES_SAVE_AS = ''
|
||||||
|
TAGS_SAVE_AS = ''
|
||||||
|
|
||||||
|
INDEX_SAVE_AS = 'index.php'
|
||||||
|
ARTICLE_URL = '{slug}/'
|
||||||
|
ARTICLE_SAVE_AS = '{slug}/index.php'
|
||||||
|
PAGE_URL = '{slug}/'
|
||||||
|
PAGE_SAVE_AS = '{slug}/index.php'
|
||||||
|
|
||||||
|
PROD = True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user