aboutsummaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-03-11 03:00:50 -0500
committerChristian Cleberg <[email protected]>2026-03-11 03:00:50 -0500
commite4fc1f14a255d0bcb961c056357ca7eff5467a13 (patch)
tree23931fae95a2a67fbcf4879de0feacb833653e74 /theme
parent0117af85bcf97b7db9a1a7456528ef2b682576b1 (diff)
downloadcleberg.net-e4fc1f14a255d0bcb961c056357ca7eff5467a13.tar.gz
cleberg.net-e4fc1f14a255d0bcb961c056357ca7eff5467a13.tar.bz2
cleberg.net-e4fc1f14a255d0bcb961c056357ca7eff5467a13.zip
add tag support
Diffstat (limited to 'theme')
-rw-r--r--theme/static/styles.css14
-rw-r--r--theme/templates/base.html1
2 files changed, 15 insertions, 0 deletions
diff --git a/theme/static/styles.css b/theme/static/styles.css
index 36fbedf..3e4577b 100644
--- a/theme/static/styles.css
+++ b/theme/static/styles.css
@@ -581,3 +581,17 @@ img:hover { filter: grayscale(0); }
@media (max-width: 480px) {
.masthead nav li { width: 100%; }
}
+
+/* Tags page */
+.tag-toc {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.5rem 1.5rem;
+ list-style: none;
+ padding: 0;
+ margin: 0 0 3rem;
+}
+.tag-count {
+ color: var(--meta);
+ font-size: var(--text-xs);
+}
diff --git a/theme/templates/base.html b/theme/templates/base.html
index 6f585b2..8eca335 100644
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -21,6 +21,7 @@
<nav aria-label="Site Navigation">
<ul>
<li><a href="/blog/">Blog</a></li>
+ <li><a href="/tags/">Tags</a></li>
<li><a href="/guides/index.html">Guides</a></li>
<li><a href="/apps/">Apps</a></li>
<li><a href="/garden/">Garden</a></li>