diff --git a/README.md b/README.md index 3e7e625..616e9ea 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Pelican [documentation](http://docs.getpelican.com/en/latest/) | PROFILE_IMAGE | URL | Profile image | | SITE_SUBTEXT | TEXT | Header subtitle | | MENU_ITEMS | DICT | Menu items | +| PAGES_ON_MENU | BOOL | Pages on the menu | | SHOW_ARTICLE_AUTHOR | BOOL | Show/hide author | | LICENSE_URL | URL | Footer action | | LICENSE_NAME | TEXT | Hot footer action | diff --git a/alchemy/templates/header.html b/alchemy/templates/header.html index 5cd127b..8a9c1d6 100644 --- a/alchemy/templates/header.html +++ b/alchemy/templates/header.html @@ -14,6 +14,17 @@ {% for title, link in MENU_ITEMS %}
  • {{ title }}
  • {% endfor %} + {% if PAGES_ON_MENU %} + {% for p in PAGES %} + {% if loop.first %} +
  • ·
  • + {% endif %} +
  • {{ p.title }}
  • + {% if loop.last %} +
  • ·
  • + {% endif %} + {% endfor %} + {% endif %} {% if EMAIL_ADDRESS %}
  • {% endif %}