From 1887b2e311696d6781815545ec416fb8b6ed60fd Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 19 Jun 2024 18:35:55 +0200 Subject: Added tags to notes --- templates/base.html | 3 ++- templates/index.html | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'templates') 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 @@ font-size: xx-large; } + mark { padding: 0 0.3em; background-color: chartreuse; } cap { text-transform: capitalize; } ul li { padding: 0.1em 0; } @@ -171,7 +172,7 @@ Home Code PGP - Newsboat + Blogroll CV RSS 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 @@ {{ range .Pages }} {{ if and (eq .Type "note") (not .Draft) }} -
  • {{ .Title }}
  • +
  • + {{ range .Meta.tags }} + {{ . }} + {{ end }} + {{ .Title }} +
  • {{ end }} {{ end }} -- cgit v1.2.3