Disable rendering useless pages

This commit is contained in:
Tanner Collin 2020-11-02 03:35:54 +00:00
parent 6d2247b210
commit 6bed384805
2 changed files with 27 additions and 0 deletions

View File

@ -38,3 +38,14 @@ MARKDOWN = {
#RELATIVE_URLS = True
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

View File

@ -39,3 +39,19 @@ MARKDOWN = {
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