From c446e37bdc3e6f96dba4f11c07d241ee7f133025 Mon Sep 17 00:00:00 2001 From: a Date: Tue, 27 Feb 2024 02:40:59 -0600 Subject: [PATCH] more seo --- layouts/_default/baseof.html | 8 ++++++-- layouts/partials/seo.html | 28 +++++++++++++--------------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index fb90c64..9c29563 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,6 +1,10 @@ - - + + diff --git a/layouts/partials/seo.html b/layouts/partials/seo.html index a05df8c..0f33922 100644 --- a/layouts/partials/seo.html +++ b/layouts/partials/seo.html @@ -14,19 +14,19 @@ {{- $name = or .Params.name .Site.Title }} {{- end }} {{- with $name }} -{{ . }} - +{{ . }} + {{- end -}} {{/*=== description ===*/}} {{- with or .Description .Summary .Site.Params.description }} - + {{- end }} {{ "" | safeHTML }} {{- with .Permalink | absURL}} - - + + {{- end -}} @@ -54,20 +54,17 @@ {{/*=== author ===*/}} {{ with or .Params.author .Site.Params.author -}} {{ "" | safeHTML }} - - - - + {{- end -}} + {{/*=== published and updated ===*/}} {{- "" | safeHTML }} {{ with .Date -}} - - + {{ end -}} {{ with .Lastmod -}} - + {{ end -}} {{/*=== section and keywords ===*/}} @@ -76,12 +73,13 @@ {{- end -}} {{- with .Params.tags }} - + {{- end -}} {{- if isset .Params "date" }} {{ "" | safeHTML }} +