1
0
Fork 0
forked from github/pelican

Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Ondrej Grover
9690a696b9 Mention the INDEX_SAVE_AS setting in FAQ and direct templates
This setting can be particularly useful when making a static homepage.
2014-11-03 15:43:32 +01:00
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

@ -341,7 +341,7 @@ Setting name (followed by default value, if any) What does it do?
``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?
@ -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.
``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 articles.
============================================= ===============================================
URLs for direct template pages are theme-dependent. Some themes hard-code them: