X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/458f641e8782b0b55e9ef8d2c6534de581c69b9c..931546ff862b5b310ecb900e64429ae4f76535d5:/_includes/menu-level.html?ds=sidebyside 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