diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d2e483ff..45b9df9d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,12 +1,12 @@ {{- define "main" -}} -
+
{{ partial "page_header" . }}
-
+
{{ .Content }}
diff --git a/layouts/partials/jsonld/article.html b/layouts/partials/jsonld/article.html index 1c3b148e..f9a9220e 100644 --- a/layouts/partials/jsonld/article.html +++ b/layouts/partials/jsonld/article.html @@ -2,10 +2,10 @@ {{ $summary := .summary }} {{ $featured_image := ($page.Resources.ByType "image").GetMatch "*featured*" }} -{{/* Get microdata type. */}} -{{ $microdata_type := "Article" }} +{{/* Get schema type. */}} +{{ $schema := "Article" }} {{ if eq $page.Type "post" }} - {{ $microdata_type = "BlogPosting" }} + {{ $schema = "BlogPosting" }} {{ end }} {{/* Get author name. */}} @@ -25,7 +25,7 @@