diff --git a/README.md b/README.md index cb1f03f..dcf59ea 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ For enhancements, bug tracking, and requests please check my [github repo](https * `SITESUBTITLE = 'String'` * `FOOTER_TEXT = 'Replace pelican credit'` * `DISPLAY_CATEGORIES_ON_MENU = True/False` +* `DISPLAY_PAGES_ON_MENU = True/False` * `LINKS = (('Site', 'http://url.com'), ('Site 2', 'http://another.url.com'))` * `SINGLE_AUTHOR = True/False` * `MINT = True/False` @@ -18,4 +19,4 @@ For enhancements, bug tracking, and requests please check my [github repo](https * [tBunnyMan](http://bunnyman.info) (Pelican v1.0) ## Licence -Modified and released under the GNU General Public License, full details in `LICENSE.txt` file. \ No newline at end of file +Modified and released under the GNU General Public License, full details in `LICENSE.txt` file. diff --git a/templates/base.html b/templates/base.html index 655ed3a..1d3c395 100644 --- a/templates/base.html +++ b/templates/base.html @@ -38,9 +38,11 @@

{{ SITENAME }}

{% for title, link in MENUITEMS %}
  • {{ title }}
  • {% endfor %} + {% if DISPLAY_PAGES_ON_MENU %} {% for p in PAGES %} {{ p.title }} {% endfor %} + {% endif %} {% if DISPLAY_CATEGORIES_ON_MENU %} {% for cat, null in categories %} {{ cat }}