Skip to content

Commit 55b8018

Browse files
committed
Little adjustment thanks to @dwlfrth in _layout/archive.html
1 parent f381e82 commit 55b8018

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

_layouts/archive.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,9 @@ <h1>{{ page.title }}</h1>
2121

2222
<ul class="toc">
2323
{% for post in site.posts %}
24-
{% if forloop.last %}
25-
<li><a href="{{ site.url }}{{ site.baseurl }}{{ post.url }}">{% if post.subheadline %}<span>{{ post.subheadline }}</span>{% endif %}{% if post.subheadline %}<span>{{ post.subheadline }}</span>{% endif %}{{ post.title }}</a></li>
26-
</ul>
27-
{% else %}
2824
<li><a href="{{ site.url }}{{ site.baseurl }}{{ post.url }}">{% if post.subheadline %}<span>{{ post.subheadline }}</span>{% endif %}{{ post.title }}</a></li>
29-
{% endif %}
3025
{% endfor %}
26+
</ul>
3127

3228
</div>
3329
</div><!-- /.row -->

0 commit comments

Comments
 (0)