From 8879c5cf5854d5fe15ec45708c0a175df55ca560 Mon Sep 17 00:00:00 2001 From: Raymond Wanyoike Date: Sat, 12 Nov 2016 11:33:30 +0300 Subject: [PATCH] Refactor header links, icons and settings - Support misc fontawesome icons/links - Pelican DISPLAY_PAGES_ON_MENU setting --- alchemy/templates/base.html | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/alchemy/templates/base.html b/alchemy/templates/base.html index a59ac0b..0e901ed 100644 --- a/alchemy/templates/base.html +++ b/alchemy/templates/base.html @@ -69,41 +69,29 @@ {% endif %}

{{ SITENAME }}

+ {% if SITESUBTITLE %}

{{ SITESUBTITLE }}

- {% if LINKS or PAGES or FACEBOOK_URL or FEED_ALL_ATOM or GITHUB_URL or G_PLUS_URL or TWITTER_URL %} + {% endif %} + {% if LINKS or (DISPLAY_PAGES_ON_MENU and PAGES) or ICONS %}
{% endif %}