Improve the JSON-LD output and add it to sections and front page as well.

This commit is contained in:
Fredrik Jonsson 2018-03-01 14:29:25 +01:00
commit f25ad69da2

View file

@ -5,6 +5,10 @@
{{- partial "single_meta.html" . -}}
{{ end }}
{{ define "header" }}
{{- partial "section_json_ld.html" . -}}
{{ end }}
{{ define "main" -}}
<main class="main layout__main" role="main">
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}single-view">