From 3e1fbbe545d2e15823d7f770621fc68b71f2d8d9 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 15 Oct 2024 14:23:31 +0200 Subject: Added search boxes for posts and notes --- templates/index.html | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index f5821fc..e3586ff 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,6 +11,40 @@ bytes (trigraphs). +
+ + + {{ range .Pages }} + {{ if and (eq .Type "post") (not .Draft) }} + + {{ end }} + {{ end }} + + + + {{ range .Pages }} + {{ if and (eq .Type "note") (not .Draft) }} + + {{ end }} + {{ end }} + +
+ + +

More long form, ramblings etc