try harder not to have spaces in the menu; fix project page title
[web.git] / _includes / menu-level.html
index ae2993133446c27d3e950d705b36ff8ccc784053..0b25bd7ec65fe27376317dfdd3b3f1ec8f82b181 100644 (file)
@@ -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 %}
     --><li class="{{ class }}"><a href="{{ item.url | prepend: include.base }}">{{ item.title }}</a></li><!--
     {% if item.structure and (class == "current" or class == "parent") %}
         {% if cururl == canonicalurl %}{% assign above = false %}{% else %}{% assign above = true %}{% endif %}
         -->{% include menu-level.html menu=item.structure base=cururl above=above %}<!--
     {% endif %}
--->{% endfor %}</ul>
+-->{% endfor %}</ul>
\ No newline at end of file