From 3d83f6e14f3524531dbc5afadb42f2946161a2f6 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 29 Sep 2025 22:05:18 +0200 Subject: Update global styles --- layouts/_default/baseof.html | 5 +---- layouts/_default/single.html | 8 ++++---- layouts/index.html | 9 --------- layouts/partials/head/meta.html | 3 ++- layouts/partials/header.html | 7 ------- layouts/partials/header/index.html | 7 ++++--- layouts/partials/header/nav.html | 6 +++--- layouts/partials/header/theme-button.html | 4 ++-- layouts/partials/list/default.html | 4 ++-- 9 files changed, 18 insertions(+), 35 deletions(-) delete mode 100644 layouts/index.html delete mode 100644 layouts/partials/header.html (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index aa39a42..4e673db 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,10 +5,7 @@ -
- {{ partial "header/index" . }} - {{ partial "header/theme-button" . }} -
+ {{ partial "header/index" . }}
{{- block "main" . -}} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 80c3bee..271ddd8 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,16 +7,16 @@
{{/* Publish date */}} - {{/* Categories */}} - {{ with (.GetTerms "categories") }} — + {{/* Categories */}} + {{ with (.GetTerms "categories") }} — {{ range . }} {{ .LinkTitle }} - {{ end }} + {{ end }} {{ end }}
diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index 7cf7b9d..0000000 --- a/layouts/index.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ define "main" }} - -
-

{{ .Title }}

-
- -
{{ .Content }}
- -{{ end }} \ No newline at end of file diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html index 329d9bf..93f8594 100644 --- a/layouts/partials/head/meta.html +++ b/layouts/partials/head/meta.html @@ -1,4 +1,5 @@ {{ $favicon := resources.GetMatch .Site.Params.favicon }} +{{ $tiny := ($favicon.Fill "80x80 q90") }} @@ -11,7 +12,7 @@ - + {{ if .Site.Config.Services.GoogleAnalytics.ID }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html deleted file mode 100644 index cdfb463..0000000 --- a/layouts/partials/header.html +++ /dev/null @@ -1,7 +0,0 @@ -
- {{ partial "header/avatar.html" . }} -
- {{ partial "header/title.html" . }} - {{ partial "header/nav.html" . }} -
-
\ No newline at end of file diff --git a/layouts/partials/header/index.html b/layouts/partials/header/index.html index 43debba..fdbce83 100644 --- a/layouts/partials/header/index.html +++ b/layouts/partials/header/index.html @@ -1,8 +1,9 @@ -
+
{{ partial "header/avatar" . }} - + {{ partial "header/theme-button" . }} +
- {{ partial "header/title" . }} + {{ partial "header/title" . }} {{ partial "header/nav" . }}
diff --git a/layouts/partials/header/nav.html b/layouts/partials/header/nav.html index 94b073d..95c0e59 100644 --- a/layouts/partials/header/nav.html +++ b/layouts/partials/header/nav.html @@ -1,8 +1,8 @@