X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/458f641e8782b0b55e9ef8d2c6534de581c69b9c..7747833a9c3f6de9d76141b23827862f8728e98a:/_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