diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8cb889e..31ecb9a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,6 +3,14 @@ {{- partial "analytics.html" . -}} {{- partial "site-meta.html" -}} +{{ $author := (.Params.author | default .Site.Params.author.name) -}} + +{{ with .Site.Params.themeColor -}} + + + +{{- end -}} +{{- with .Page.Params.description | default .Site.Params.description -}}{{- end -}} {{- partial "structured-data.html" . -}} {{.Title}} {{ range .AlternativeOutputFormats -}} diff --git a/layouts/partials/site-meta.html b/layouts/partials/site-meta.html index aa72c52..f5af108 100644 --- a/layouts/partials/site-meta.html +++ b/layouts/partials/site-meta.html @@ -9,12 +9,4 @@ - -{{ $author := (.Params.author | default .Site.Params.author.name) -}} - -{{ with .Site.Params.themeColor -}} - - - -{{- end -}} -{{- with .Params.description -}}{{- end -}} \ No newline at end of file + \ No newline at end of file