diff options
-rwxr-xr-x | theme/templates/menu.html | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/theme/templates/menu.html b/theme/templates/menu.html index 639c16c..28bc1e7 100755 --- a/theme/templates/menu.html +++ b/theme/templates/menu.html @@ -14,13 +14,11 @@ <ul> <li class='has-sub'><span><a href="{{ SITEURL }}/">Articles</a></span> <ul> - {% for article in articles %} - {% if loop.index <= FEED_MAX_ITEMS %} - <li><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></li> - {% endif %} - {% endfor %} - <hr/> - <li><a href="{{ SITEURL }}/archives.html">Archives</a> + {% for article in articles %}{% if loop.index <= FEED_MAX_ITEMS %} + <li><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></li> + {% endif %}{% endfor %} + <hr/> + <li><a href="{{ SITEURL }}/archives.html">Archives</a> </ul> </li> @@ -56,8 +54,7 @@ {% if categories %} {% for category, articles in categories %} - <li><a href="{{SITEURL}}/{{CATEGORY_FEED_ATOM % (category)}}"><span>{{ category }}</span></a></li> - {% endfor %} + <li><a href="{{SITEURL}}/{{CATEGORY_FEED_ATOM % (category)}}"><span>{{ category }}</span></a></li>{% endfor %} {% endif %} </ul> </li> |