diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-19 18:35:55 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-19 18:35:55 +0200 |
| commit | 1887b2e311696d6781815545ec416fb8b6ed60fd (patch) | |
| tree | c7e814d4d3bbf4dcd711dc56b95b2faf23673ce5 /templates | |
| parent | 3d2ca2089cb20bfe0322118445fd859a9a4c331d (diff) | |
| download | mitjafelicijan.com-1887b2e311696d6781815545ec416fb8b6ed60fd.tar.gz | |
Added tags to notes
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 3 | ||||
| -rw-r--r-- | templates/index.html | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html index db9940b..9101abe 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -59,6 +59,7 @@ | |||
| 59 | font-size: xx-large; | 59 | font-size: xx-large; |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | mark { padding: 0 0.3em; background-color: chartreuse; } | ||
| 62 | cap { text-transform: capitalize; } | 63 | cap { text-transform: capitalize; } |
| 63 | ul li { padding: 0.1em 0; } | 64 | ul li { padding: 0.1em 0; } |
| 64 | 65 | ||
| @@ -171,7 +172,7 @@ | |||
| 171 | <a href="/">Home</a> | 172 | <a href="/">Home</a> |
| 172 | <a href="https://github.com/mitjafelicijan" target="_blank">Code</a> | 173 | <a href="https://github.com/mitjafelicijan" target="_blank">Code</a> |
| 173 | <a href="/assets/mitjafelicijan.pgp.pub.txt">PGP</a> | 174 | <a href="/assets/mitjafelicijan.pgp.pub.txt">PGP</a> |
| 174 | <a href="/assets/urls.txt">Newsboat</a> | 175 | <a href="/assets/urls.txt">Blogroll</a> |
| 175 | <a href="/curriculum-vitae.html">CV</a> | 176 | <a href="/curriculum-vitae.html">CV</a> |
| 176 | <a href="/feed.xml">RSS</a> | 177 | <a href="/feed.xml">RSS</a> |
| 177 | </nav> | 178 | </nav> |
diff --git a/templates/index.html b/templates/index.html index 9291987..f5821fc 100644 --- a/templates/index.html +++ b/templates/index.html | |||
| @@ -29,7 +29,12 @@ | |||
| 29 | <meta itemprop="name" content="Notes?! Maybe useful"> | 29 | <meta itemprop="name" content="Notes?! Maybe useful"> |
| 30 | {{ range .Pages }} | 30 | {{ range .Pages }} |
| 31 | {{ if and (eq .Type "note") (not .Draft) }} | 31 | {{ if and (eq .Type "note") (not .Draft) }} |
| 32 | <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> | 32 | <li> |
| 33 | {{ range .Meta.tags }} | ||
| 34 | <mark>{{ . }}</mark> | ||
| 35 | {{ end }} | ||
| 36 | <a href="{{ .RelPermalink }}">{{ .Title }}</a> | ||
| 37 | </li> | ||
| 33 | {{ end }} | 38 | {{ end }} |
| 34 | {{ end }} | 39 | {{ end }} |
| 35 | </ul> | 40 | </ul> |
