From 60f61c9a6879419d4a338e382441a0f69d2c772e Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 13 Nov 2023 15:51:06 +0000 Subject: [PATCH] Theme Files Update --- layouts/_default/baseof.html | 15 +-------------- layouts/partials/site-meta.html | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 14 deletions(-) create mode 100644 layouts/partials/site-meta.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 108853f..8cb889e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,21 +2,8 @@ {{- partial "analytics.html" . -}} - - - - - - -{{ $author := (.Params.author | default .Site.Params.author.name) -}} - -{{ with .Site.Params.themeColor -}} - - -{{- end -}} -{{- with .Params.description -}}{{- end -}} +{{- partial "site-meta.html" -}} {{- partial "structured-data.html" . -}} -{{- partial "favicons.html" -}} {{.Title}} {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Title | safeHTML }} diff --git a/layouts/partials/site-meta.html b/layouts/partials/site-meta.html new file mode 100644 index 0000000..aa72c52 --- /dev/null +++ b/layouts/partials/site-meta.html @@ -0,0 +1,20 @@ + + + + + + + + + + + + +{{ $author := (.Params.author | default .Site.Params.author.name) -}} + +{{ with .Site.Params.themeColor -}} + + + +{{- end -}} +{{- with .Params.description -}}{{- end -}} \ No newline at end of file