From f1b401a181077eadeda28717ee24ddc3209ce7c1 Mon Sep 17 00:00:00 2001 From: Alexandre CHAZAL Date: Thu, 14 Mar 2024 16:22:29 +0100 Subject: [PATCH] fix(config): fix wrong svg alt attributes and how posts handle authors --- layouts/index.html | 66 +++++++++++++++------------------------ layouts/partials/svg.html | 4 +-- layouts/posts/single.html | 4 +-- 3 files changed, 29 insertions(+), 45 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 3b1c66f..72ab64a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,47 +1,31 @@ -{{ define "head" }} - {{ if .Site.Params.bgImg -}} - - {{- else if .Site.Params.images -}} - {{- range first 1 .Site.Params.images -}} - - {{- end -}} - {{- end -}} -{{ end }} - {{ define "extrabodyclass" }} class="toxicGlow" {{ end }} {{ define "main" }} - {{ if (or .Site.Params.images .Site.Params.bgImg) }} -
- {{ end }} -
-
-

{{ .Site.Title }}:/ #_

-
- {{ range .Site.Params.homeSubtitle }} -

{{ . }}

- {{ end }} - {{ with .Site.Params.social }} -
- {{ partialCached "social-icons.html" . }} -
- {{ end }} -
-
- All the fun lies right here -
- -
- -
- -
+ {{ if (or .Site.Params.images .Site.Params.bgImg) }} +
+ {{ end }} +
+
+

{{ .Site.Title }}:/ #_

+
+ {{ range .Site.Params.homeSubtitle }}

{{ . }}

{{ end }} + {{ with .Site.Params.social }}
{{ partialCached "social-icons.html" . }}
{{ end }} +
+
+ All the fun lies right here +
+ down-arrow +
+ +
+ +
{{ end }} diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index e1fc3d8..9b6beff 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -3,13 +3,13 @@ {{- else if (eq .name "facebook") -}} {{- else if (eq .name "github") -}} -rootme +github {{- else if (eq .name "gitlab") -}} {{- else if (eq .name "instagram") -}} {{- else if (eq .name "linkedin") -}} -rootme +linkedin {{- else if (eq .name "slack") -}} {{- else if (eq .name "stackoverflow") -}} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 914fb95..aa7d6f2 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -30,7 +30,7 @@ {{- end }}