forked from github/pelican
Mention the INDEX_SAVE_AS setting in FAQ and direct templates
This setting can be particularly useful when making a static homepage.
This commit is contained in:
parent
a81fcd3fef
commit
9690a696b9
2 changed files with 6 additions and 1 deletions
|
|
@ -135,6 +135,10 @@ your home page. The following Markdown example could be stored in
|
||||||
|
|
||||||
Thank you for visiting. Welcome!
|
Thank you for visiting. Welcome!
|
||||||
|
|
||||||
|
If the original blog index is still wanted, it can then be saved in a
|
||||||
|
different location by setting ``INDEX_SAVE_AS = 'blog_index.html`` for
|
||||||
|
the ``''index'`` direct template.
|
||||||
|
|
||||||
What if I want to disable feed generation?
|
What if I want to disable feed generation?
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -341,7 +341,7 @@ Setting name (followed by default value, if any) What does it do?
|
||||||
|
|
||||||
``DIRECT_TEMPLATES``, which are ``('index', 'tags', 'categories', 'archives')``
|
``DIRECT_TEMPLATES``, which are ``('index', 'tags', 'categories', 'archives')``
|
||||||
by default, work a bit differently than noted above. Only the ``_SAVE_AS``
|
by default, work a bit differently than noted above. Only the ``_SAVE_AS``
|
||||||
settings are available:
|
settings are available, but it is available for any direct template:
|
||||||
|
|
||||||
============================================= ===============================================
|
============================================= ===============================================
|
||||||
Setting name (followed by default value) What does it do?
|
Setting name (followed by default value) What does it do?
|
||||||
|
|
@ -350,6 +350,7 @@ Setting name (followed by default value) What does it do?
|
||||||
``AUTHORS_SAVE_AS = 'authors.html'`` The location to save the author list.
|
``AUTHORS_SAVE_AS = 'authors.html'`` The location to save the author list.
|
||||||
``CATEGORIES_SAVE_AS = 'categories.html'`` The location to save the category list.
|
``CATEGORIES_SAVE_AS = 'categories.html'`` The location to save the category list.
|
||||||
``TAGS_SAVE_AS = 'tags.html'`` The location to save the tag list.
|
``TAGS_SAVE_AS = 'tags.html'`` The location to save the tag list.
|
||||||
|
``INDEX_SAVE_AS = 'index.html'`` The location to save the list of articles.
|
||||||
============================================= ===============================================
|
============================================= ===============================================
|
||||||
|
|
||||||
URLs for direct template pages are theme-dependent. Some themes hard-code them:
|
URLs for direct template pages are theme-dependent. Some themes hard-code them:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue