diff --git a/pg-py/themes/basic/archive.html b/pg-py/themes/basic/archive.html
index 6e2ed52..4ab694c 100644
--- a/pg-py/themes/basic/archive.html
+++ b/pg-py/themes/basic/archive.html
@@ -3,11 +3,8 @@
<p>This is the archive of all posts. It is an optional page, configurable from pa.py</p>
<ul class="post-list">
- {% for year, posts in years %}
- <h2>{{ year }}</h2>
{% for post in posts %}
<li>{date|format:%d %b %Y} - <a href="{post.url}">{post.title}</a></li>
{% endfor %}
- {% endfor %}
</ul>
</main>
diff --git a/pg-py/themes/basic/footer.html b/pg-py/themes/basic/footer.html
index 4f54f48..305d761 100644
--- a/pg-py/themes/basic/footer.html
+++ b/pg-py/themes/basic/footer.html
@@ -1,6 +1,6 @@
<footer style="padding:25px 0;">
<p>Subscribe via <a href='/index.xml'>rss</a></p>
- <span class="power">Powered by <a href="https://codeberg.org/cybrkyd/page-with-py" target="_blank" rel="noopener">PaPy</a></span>
+ <span class="power">Site generated by <a href="https://codeberg.org/cybrkyd/page-with-py" target="_blank" rel="noopener">PaPy</a></span>
</footer>
diff --git a/pg-py/themes/basic/head.html b/pg-py/themes/basic/head.html
index 3ad3782..b002ddb 100644
--- a/pg-py/themes/basic/head.html
+++ b/pg-py/themes/basic/head.html
@@ -178,6 +178,10 @@ ul.blog-posts li a:visited {
color: var(--visited-color);
}
+ .tags:not(:has(a)) .tag-label {
+ display:none
+ }
+
.pager.blog-pager {
display: flex;
justify-content: space-between;
diff --git a/pg-py/themes/basic/header.html b/pg-py/themes/basic/header.html
index bef4242..86435e8 100644
--- a/pg-py/themes/basic/header.html
+++ b/pg-py/themes/basic/header.html
@@ -4,6 +4,6 @@
<h1>My blog</h1>
</a>
<nav>
- <p><a href='/'>Home</a> <a href='/about'>About</a></p>
+ <p><a href='/'>Home</a> <a href='/about'>About</a> <a href='/archive'>Archive</a> <a href='/tags'>Tags</a></p>
</nav>
</header>
diff --git a/pg-py/themes/basic/single.html b/pg-py/themes/basic/single.html
index 8976355..f8633d1 100644
--- a/pg-py/themes/basic/single.html
+++ b/pg-py/themes/basic/single.html
@@ -11,9 +11,12 @@
{% endfor %}
{content}
- {% for tag in tags %}
- <a href="/tags/{tag}/">#{tag}</a>
- {% endfor %}
+ <div class="tags">
+ <span class="tag-label">Tagged in:</span>
+ {% for tag in tags %}
+ <a href="/tags/{tag.url}/">#{tag.label}</a>
+ {% endfor %}
+ </div>
</article>
<hr>
diff --git a/pg-py/themes/basic/tags.html b/pg-py/themes/basic/tags.html
index dfc0866..1fec170 100644
--- a/pg-py/themes/basic/tags.html
+++ b/pg-py/themes/basic/tags.html
@@ -3,9 +3,7 @@
<ul class="post-list">
{% for post in posts %}
- <li>{date|format:%d %b %Y} - <a href="{post.url}">{post.title}</a></li>
+ <li><a href="{post.url}">{post.title}</a></li>
{% endfor %}
</ul>
-
- {pagination}
</main>