aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2025-02-22 20:01:22 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2025-02-22 20:01:22 +0100
commit4b534dd48131b3e04336e61c66556afe59f5fc2a (patch)
treec80891e28eb12c285c370d4f000d25d010300ae4 /templates/index.html
parentcd8e0d19f542c7463707f5bcce329d8d55350314 (diff)
downloadmitjafelicijan.com-4b534dd48131b3e04336e61c66556afe59f5fc2a.tar.gz
Better tags
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index 57f9b40..be725f5 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -21,8 +21,10 @@
21 {{ range .Pages }} 21 {{ range .Pages }}
22 {{ if and (not .Draft) (or (eq .Type "note") (eq .Type "post")) }} 22 {{ if and (not .Draft) (or (eq .Type "note") (eq .Type "post")) }}
23 <li> 23 <li>
24 {{ if eq .Type "note" }} 24 {{ if .Meta.tags }}
25 {{ range .Meta.tags }}<mark>{{ . }}</mark>{{ end }} 25 <div class="tags">
26 {{ range .Meta.tags }}<mark>{{ . }}</mark>{{ end }}
27 </div>
26 {{ end }} 28 {{ end }}
27 <a href="{{ .RelPermalink }}">{{ .Title }}</a> 29 <a href="{{ .RelPermalink }}">{{ .Title }}</a>
28 </li> 30 </li>