diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-19 19:23:04 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-19 19:23:04 +0200 |
| commit | 4dccae11c13ccefbafb4e58bcbaf4166900d6e94 (patch) | |
| tree | f89f6ae77db0238f0acce2d9d68a69cef2bbc403 | |
| parent | 8e0d8c42e021d098ac3dbb3bfe795d4439d26c29 (diff) | |
| download | mitjafelicijan.com-4dccae11c13ccefbafb4e58bcbaf4166900d6e94.tar.gz | |
Added tags to other notes section
| -rw-r--r-- | templates/note.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/note.html b/templates/note.html index 9f0c476..5f3f928 100644 --- a/templates/note.html +++ b/templates/note.html | |||
| @@ -19,7 +19,12 @@ | |||
| 19 | <meta itemprop="name" content="Other notes"> | 19 | <meta itemprop="name" content="Other notes"> |
| 20 | {{ range random 20 .Pages }} | 20 | {{ range random 20 .Pages }} |
| 21 | {{ if and (eq .Type "note") (not .Draft) }} | 21 | {{ if and (eq .Type "note") (not .Draft) }} |
| 22 | <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> | 22 | <li> |
| 23 | {{ range .Meta.tags }} | ||
| 24 | <mark>{{ . }}</mark> | ||
| 25 | {{ end }} | ||
| 26 | <a href="{{ .RelPermalink }}">{{ .Title }}</a> | ||
| 27 | </li> | ||
| 23 | {{ end }} | 28 | {{ end }} |
| 24 | {{ end }} | 29 | {{ end }} |
| 25 | </ul> | 30 | </ul> |
