From 2a27da79b42ed0c16114faf56d251cd11e7796a3 Mon Sep 17 00:00:00 2001 From: lauralani Date: Thu, 31 Aug 2023 10:06:52 +0200 Subject: [PATCH] update meta tags and add og:image --- layouts/_default/baseof.html | 3 +-- layouts/home.html | 4 ++-- layouts/partials/head/defaults.html | 4 ---- layouts/partials/head/meta.html | 9 +++++++-- 4 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 layouts/partials/head/defaults.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5ea1be5..106e303 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,11 +1,10 @@ + {{ partial "head/meta.html" . }} {{ or .Title .Site.Title }}{{ if ne .Kind "home" }} | {{ .CurrentSection.Title }}{{ end }} - {{ partial "head/defaults.html" . }} {{ partial "head/favicon.html" . }} {{ partial "head/styling.html" . }} - {{ partial "head/meta.html" . }} {{ partial "body/nav.html" . }} diff --git a/layouts/home.html b/layouts/home.html index a468500..2499b62 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -3,9 +3,9 @@ {{ or .Title .Site.Title }} - {{ partial "head/defaults.html" . }} - {{ partial "head/styling.html" . }} {{ partial "head/meta.html" . }} + {{ partial "head/favicon.html" . }} + {{ partial "head/styling.html" . }} diff --git a/layouts/partials/head/defaults.html b/layouts/partials/head/defaults.html deleted file mode 100644 index 1c7c622..0000000 --- a/layouts/partials/head/defaults.html +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html index 929c7ae..93688de 100644 --- a/layouts/partials/head/meta.html +++ b/layouts/partials/head/meta.html @@ -1,4 +1,9 @@ + + + + + {{ $summary := or .Page.Params.Description .Site.Params.Description }} - - + + {{ hugo.Generator }}