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:
Ondrej Grover 2014-11-03 15:39:56 +01:00
commit 08044f2436
2 changed files with 6 additions and 1 deletions

View file

@ -135,6 +135,10 @@ your home page. The following Markdown example could be stored in
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?
==========================================

View file

@ -345,7 +345,7 @@ posts for the month at ``posts/2011/Aug/index.html``.
``DIRECT_TEMPLATES``, which are ``('index', 'tags', 'categories', 'archives')``
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?
@ -357,6 +357,7 @@ Setting name (followed by default value) What does it do?
``AUTHORS_SAVE_AS = 'authors.html'`` The location to save the author 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.
``INDEX_SAVE_AS = 'index.html'`` The location to save the list of all articles.
============================================= ======================================================
URLs for direct template pages are theme-dependent. Some themes use