aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/menu.html
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2020-05-20 08:55:29 +0200
committerSébastien Dailly <sebastien@chimrod.com>2020-05-20 08:55:29 +0200
commit17a4e41427a3b57d3713594de055dfb1cbace490 (patch)
treedf4be371c65d1187fb0cd88b352aba043eaefcc0 /theme/templates/menu.html
parent1e591fead40df9be50b93ccd4f9226229074009d (diff)
Update template
Diffstat (limited to 'theme/templates/menu.html')
-rwxr-xr-xtheme/templates/menu.html15
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>