Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
ibbsbbr authored Aug 7, 2024
1 parent 0eb7259 commit 4c2d415
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tags/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: default
title: Tags
permalink: /tags/
---
@@ -33,8 +32,7 @@ <h1>{{ page.title }}</h1>
<div class="tagged-posts">
{% for tag in sorted_tags %}
<section id="{{ tag | slugify }}" aria-labelledby="{{ tag | slugify }}-heading">
<h2 id="{{ tag | slugify }}-heading">{{ tag }}</h2>
<a href="#" id="back-to-top">&uarr;</a>
<h2 id="{{ tag | slugify }}-heading">{{ tag }}<a href="#" id="back-to-top">&uarr;</a></h2>
<ul>
{% assign tag_posts = site.posts | where_exp: "post", "post.tags contains tag or post.tags == tag or post.tags[0] == tag" %}
{% for post in tag_posts %}
@@ -43,7 +41,7 @@ <h2 id="{{ tag | slugify }}-heading">{{ tag }}</h2>
{{ post.title }}
</a>
<time datetime="{{ post.date | date_to_xmlschema }}">
- {{ post.date | date: "%B %d, %Y" }}
{{ post.date | date: "%B %d, %Y" }}
</time>
</li>
{% endfor %}

0 comments on commit 4c2d415

Please sign in to comment.