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 --- hugo.toml | 10 +--------- layouts/_default/baseof.html | 30 +++++++++++++++++++++--------- layouts/_default/home.html | 4 ++-- layouts/_default/taxonomy.html | 10 +++++----- layouts/partials/header.html | 8 -------- static/favicon-dark.png | 3 +++ static/favicon-light.png | 3 +++ static/favicon.ico | Bin 4286 -> 0 bytes static/logo.ipe | 2 +- 9 files changed, 36 insertions(+), 34 deletions(-) delete mode 100644 layouts/partials/header.html create mode 100644 static/favicon-dark.png create mode 100644 static/favicon-light.png delete mode 100644 static/favicon.ico diff --git a/hugo.toml b/hugo.toml index 0e63095..6b72b6b 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,10 +1,2 @@ -# Main Configuration baseURL = 'https://karanj.com' -languageCode = 'en-gb' -title = "Karan Jayachandra" -timeZone = 'Europe/Amsterdam' -copyright = "Creative Commons Attribution-ShareAlike 4.0 International" -summaryLength = 10 - -# Theme Configuration -enableEmoji = true +title = "Karan Jayachandra" \ No newline at end of file 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 diff --git a/static/favicon-dark.png b/static/favicon-dark.png new file mode 100644 index 0000000..61bc85c --- /dev/null +++ b/static/favicon-dark.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9e67f383c061306ff2e5a65356193b0733b76a940826e0347d8a622138cb5e6 +size 549 diff --git a/static/favicon-light.png b/static/favicon-light.png new file mode 100644 index 0000000..3af19df --- /dev/null +++ b/static/favicon-light.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4a57f92ec12180e24bdf7591939f3f980253f8c856fce820249632fb0e18c06 +size 488 diff --git a/static/favicon.ico b/static/favicon.ico deleted file mode 100644 index cacdcf0..0000000 Binary files a/static/favicon.ico and /dev/null differ diff --git a/static/logo.ipe b/static/logo.ipe index cdb4c47..34df338 100644 --- a/static/logo.ipe +++ b/static/logo.ipe @@ -1,7 +1,7 @@ - + -- cgit v1.3.1