From e9d2276f04b75eb692fafb2a1a3e34085a2cd62e Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 6 Oct 2015 23:06:21 +0200 Subject: [PATCH 1/1] try harder not to have spaces in the menu; fix project page title --- _includes/menu-level.html | 4 ++-- projects/index.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/menu-level.html b/_includes/menu-level.html index ae29931..0b25bd7 100644 --- a/_includes/menu-level.html +++ b/_includes/menu-level.html @@ -3,10 +3,10 @@ {% assign cururl = item.url | prepend: include.base %} {% assign isparent_search = canonicalurl | truncate: cururl.size, '' %} {% capture class %}{% if cururl == canonicalurl %}current{% elsif include.above != true %}child{% elsif isparent_search == cururl %}parent{% else %}sibling{% endif %}{% endcapture %} - {% comment %} Now we can output the item and it substructure {% endcomment %} + {% comment %} Now we can output the item and it substructure. Try hard not to output unnecessary spaces! {% endcomment %} -->
  • {{ item.title }}
  • {% include menu-level.html menu=item.structure base=cururl above=above %}{% endfor %} +-->{% endfor %} \ No newline at end of file diff --git a/projects/index.md b/projects/index.md index 7467d3c..3427f36 100644 --- a/projects/index.md +++ b/projects/index.md @@ -1,5 +1,5 @@ --- -ttle: Projects +title: Projects --- This page lists some of the tools I wrote, mostly for my own purposes: -- 2.30.2