diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 768d0a3a..5b20033c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -185,4 +185,8 @@ {{- end }} + + + + {{ partial "schema.html" . }} diff --git a/layouts/partials/schema.html b/layouts/partials/schema.html new file mode 100644 index 00000000..f4778d58 --- /dev/null +++ b/layouts/partials/schema.html @@ -0,0 +1,120 @@ +{{ if .IsHome -}} + + +{{ else if .IsPage }} + {{ $author := or (.Params.author) (.Site.Params.author) }} + {{ $org_name := .Site.Title }} + {{ $favicon := .Site.Params.favicon | absURL }} + + +{{ end }}