Added json-ld and fixes to meta tags.

This commit is contained in:
Fredrik Jonsson 2017-10-24 11:45:29 +02:00
commit fb2dcc80cb
2 changed files with 35 additions and 1 deletions

View file

@ -6,6 +6,7 @@
{{ block "meta" . }}{{ end }}
{{- partial "meta.html" . -}}
{{- partialCached "meta_cache.html" . -}}
{{ block "header" . }}{{ end }}
{{ if and .Site.Params.piwikTrackerUrl .Site.Params.piwikSiteID }}{{ partialCached "piwik.html" . }}{{ end -}}
</head>

View file

@ -2,6 +2,10 @@
{{- partial "single_meta.html" . -}}
{{ end }}
{{ define "header" }}
{{- partial "single_json_ld.html" . -}}
{{ end }}
{{ define "main" -}}
<main class="main layout__main" role="main">
<h1 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}">{{ .Title }}</h1>