X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/458f641e8782b0b55e9ef8d2c6534de581c69b9c..e9d2276f04b75eb692fafb2a1a3e34085a2cd62e:/_includes/menu-level.html 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