From a6bc7a7697ac4745d9f724811cecfafb98b9f209 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 11 Apr 2025 21:17:07 +0200 Subject: Update --- templates/index.html | 36 ++++++++---------------------------- 1 file changed, 8 insertions(+), 28 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index ce656ff..c124804 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,48 +3,28 @@ {{ define "content" }}
-

Notes

+

Notes / Posts

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

Posts

- - - - - - - - - - {{ range .Pages }} - {{ if and (not .Draft) (eq .Type "post") }} - -
DateTitle
{{ .Title }} {{ if .Meta.tags }} -- cgit v1.2.3