From 67a6fe21f37f8644e7ef45028168b1e4932ac654 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 19 Sep 2025 23:22:30 +0200 Subject: Cleaned up theme --- templates/base.html | 171 +++++++++++++++++++-------------------------------- templates/index.html | 62 +++++++++---------- templates/note.html | 31 +++------- templates/post.html | 31 +++------- 4 files changed, 106 insertions(+), 189 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index d449492..ccbf4f4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -11,150 +11,105 @@ - + +
-
- - - -
+
-
+
{{ block "content" . }}{{ end }}
- - diff --git a/templates/index.html b/templates/index.html index 60f4107..36b828d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,41 +4,33 @@

Notes / Posts

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

Tools / Experiments

@@ -64,6 +56,10 @@ + + + + diff --git a/templates/note.html b/templates/note.html index 939fdfa..ea73b99 100644 --- a/templates/note.html +++ b/templates/note.html @@ -15,30 +15,13 @@

Other notes

-
GGUF model list & tools https://mitjafelicijan.github.io/gguf-list/
Soundscapes boardhttps://mitjafelicijan.github.io/soundscapes/
Maps of DOOM and other well known WADS https://mitjafelicijan.github.io/mapsofdoom/
- - - - - - - - - {{ range .Pages | filterbytype "note" | random 15 }} - {{ if not .Draft }} - - - - - - {{ end }} - {{ end }} - -
DateTitle
{{ .Title }} - {{ if .Meta.tags }} - {{ range .Meta.tags }}{{ . }}{{ end }} - {{ end }} -
+
{{ if .Page.Meta.mathjax }} diff --git a/templates/post.html b/templates/post.html index 297b18f..58a0406 100644 --- a/templates/post.html +++ b/templates/post.html @@ -15,30 +15,13 @@

Other posts

- - - - - - - - - - {{ range .Pages | filterbytype "post" | random 15 }} - {{ if not .Draft }} - - - - - - {{ end }} - {{ end }} - -
DateTitle
{{ .Title }} - {{ if .Meta.tags }} - {{ range .Meta.tags }}{{ . }}{{ end }} - {{ end }} -
+
{{ if .Page.Meta.mathjax }} -- cgit v1.2.3