diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-02-22 20:01:22 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-02-22 20:01:22 +0100 |
| commit | 4b534dd48131b3e04336e61c66556afe59f5fc2a (patch) | |
| tree | c80891e28eb12c285c370d4f000d25d010300ae4 /templates/post.html | |
| parent | cd8e0d19f542c7463707f5bcce329d8d55350314 (diff) | |
| download | mitjafelicijan.com-4b534dd48131b3e04336e61c66556afe59f5fc2a.tar.gz | |
Better tags
Diffstat (limited to 'templates/post.html')
| -rw-r--r-- | templates/post.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/post.html b/templates/post.html index 13feb66..4458e8f 100644 --- a/templates/post.html +++ b/templates/post.html | |||
| @@ -19,7 +19,14 @@ | |||
| 19 | <meta itemprop="name" content="Other post"> | 19 | <meta itemprop="name" content="Other post"> |
| 20 | {{ range .Pages | filterbytype "post" | random 15 }} | 20 | {{ range .Pages | filterbytype "post" | random 15 }} |
| 21 | {{ if not .Draft }} | 21 | {{ if not .Draft }} |
| 22 | <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> | 22 | <li> |
| 23 | {{ if .Meta.tags }} | ||
| 24 | <div class="tags"> | ||
| 25 | {{ range .Meta.tags }}<mark>{{ . }}</mark>{{ end }} | ||
| 26 | </div> | ||
| 27 | {{ end }} | ||
| 28 | <a href="{{ .RelPermalink }}">{{ .Title }}</a> | ||
| 29 | </li> | ||
| 23 | {{ end }} | 30 | {{ end }} |
| 24 | {{ end }} | 31 | {{ end }} |
| 25 | </ul> | 32 | </ul> |
