From 67780ce329a4f24512cd970054ee57cdca8a92c7 Mon Sep 17 00:00:00 2001 From: "Mr. Senko" Date: Thu, 31 Mar 2016 22:54:10 +0300 Subject: [PATCH] Document IGNORE_FILES together with FOOTER_INCLUDE --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f38b81..a75e5be 100644 --- a/README.md +++ b/README.md @@ -83,10 +83,14 @@ Set ``DISABLE_CUSTOM_THEME_JAVASCRIPT`` to True if you want to disable Define ``FOOTER_INCLUDE`` in ``pelicanconf.py`` to insert a custom footer text instead the default "Powered by Pelican". The value is a template path. You also -need to define the ``EXTRA_TEMPLATES_PATHS`` setting. Example: +need to define the ``EXTRA_TEMPLATES_PATHS`` setting. If your custom footer +template is stored under the content ``PATH`` then Pelican will try to render +it as regular HTML page and will most likely fail. To prevent Pelican from +trying to render your custom footer add it to ``IGNORE_FILES``. Example: ```python FOOTER_INCLUDE = 'myfooter.html' +IGNORE_FILES = [FOOTER_INCLUDE] EXTRA_TEMPLATES_PATHS = [os.path.dirname(__file__)] ```