summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Grover <ondrej.grover@gmail.com>2014-11-03 15:39:56 +0100
committerOndrej Grover <ondrej.grover@gmail.com>2014-11-03 15:43:32 +0100
commit9690a696b95bcc08c330bbed1e2feb779649b83a (patch)
tree38fa5e44467ee98d58a2932f381a680f35a3cf62
parenta81fcd3fefa7ffce657805163cfb32470c962bf9 (diff)
downloadpelican-faq_index_save_as.tar.gz
Mention the INDEX_SAVE_AS setting in FAQ and direct templatesfaq_index_save_as
This setting can be particularly useful when making a static homepage.
-rw-r--r--docs/faq.rst4
-rw-r--r--docs/settings.rst3
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
index 1376511a..630dd3c1 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -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?
==========================================
diff --git a/docs/settings.rst b/docs/settings.rst
index d785cf9b..7192a0a6 100644
--- a/docs/settings.rst
+++ b/docs/settings.rst
@@ -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: