From becc16e997697fdd00a000e556df9ffb2a6fc068 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 22 Feb 2025 19:41:47 +0100 Subject: Changed listing on index --- templates/index.html | 35 +++++++++++------------------------ 1 file changed, 11 insertions(+), 24 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index f2bfdff..4e8eb56 100644 --- a/templates/index.html +++ b/templates/index.html @@ -15,32 +15,19 @@ -
-
-

Notes?! Maybe useful

-
    - - {{ range .Pages }} - {{ if and (eq .Type "note") (not .Draft) }} -
  • - {{ range .Meta.tags }}{{ . }}{{ end }} - {{ .Title }} -
  • +
    +
      + {{ range .Pages }} + {{ if and (not .Draft) (or (eq .Type "note") (eq .Type "post")) }} +
    • + {{ if eq .Type "note" }} + {{ range .Meta.tags }}{{ . }}{{ end }} {{ end }} + {{ .Title }} +
    • {{ end }} -
    -
-
-

More long form, ramblings etc

-
    - - {{ range .Pages }} - {{ if and (eq .Type "post") (not .Draft) }} -
  • {{ .Title }}
  • - {{ end }} - {{ end }} -
-
+ {{ end }} +
-- cgit v1.2.3