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