From a38ea51994f115e6600a48b67fa3a7a910ca7925 Mon Sep 17 00:00:00 2001 From: Mathieu Bruyen Date: Thu, 15 May 2014 08:59:29 +0200 Subject: [PATCH] Header links to pages which have a title Header used to add link to all pages of the site, even those which do not have any title, creating empty anchors on the page like ``. Those were non click-able and used space on the page due to margins. Now only displays pages with a title. --- lib/site_template/_includes/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/site_template/_includes/header.html b/lib/site_template/_includes/header.html index 36ff6cc6..e5e6f26a 100644 --- a/lib/site_template/_includes/header.html +++ b/lib/site_template/_includes/header.html @@ -18,7 +18,7 @@
{% for page in site.pages %} - {{ page.title }} + {% if page.title %}{{ page.title }}{% endif %} {% endfor %}