From 28ca1aa004ee80b6325526db1479ba05acd22367 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Wed, 21 Jan 2026 11:31:33 +0100 Subject: Cleaned up the files and added light and dark favicons --- layouts/_default/baseof.html | 30 +++++++++++++++++++++--------- layouts/_default/home.html | 4 ++-- layouts/_default/taxonomy.html | 10 +++++----- layouts/partials/header.html | 8 -------- 4 files changed, 28 insertions(+), 24 deletions(-) delete mode 100644 layouts/partials/header.html (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 19128ec..d8c9aec 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,14 +1,26 @@ - - - - - - {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} - - + + + + + + + + {{ site.Title }} + + + + + - {{partial "header.html"}} +
{{ block "main" . }}{{ end }}
diff --git a/layouts/_default/home.html b/layouts/_default/home.html index e0e8308..f752ee3 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -1,3 +1,3 @@ {{ define "main" }} - {{ .Content }} -{{ end }} +{{ .Content }} +{{ end }} \ No newline at end of file diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index c2e7875..df5e3e8 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -1,7 +1,7 @@ {{ define "main" }} -

{{ .Title }}

- {{ .Content }} - {{ range .Pages }} -

{{ .LinkTitle }}

- {{ end }} +

{{ .Title }}

+{{ .Content }} +{{ range .Pages }} +

{{ .LinkTitle }}

{{ end }} +{{ end }} \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html deleted file mode 100644 index 33224b9..0000000 --- a/layouts/partials/header.html +++ /dev/null @@ -1,8 +0,0 @@ - \ No newline at end of file -- cgit v1.3.1