diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_default/baseof.html | 4 | ||||
| -rw-r--r-- | layouts/partials/structured-data.html | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 18941b2..b495afe 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -9,9 +9,7 @@ <meta name="theme-color" content="{{.}}"> <meta name="msapplication-TileColor" content="{{.}}"> {{- end }} - {{- template "_internal/schema.html" . }} - {{- template "_internal/opengraph.html" . }} - {{- template "_internal/twitter_cards.html" . }} + {{- partial "structured-data.html" . }} {{- partial "favicons.html" }} <title>{{.Title}}</title> {{ range .AlternativeOutputFormats -}} diff --git a/layouts/partials/structured-data.html b/layouts/partials/structured-data.html new file mode 100644 index 0000000..4bfb909 --- /dev/null +++ b/layouts/partials/structured-data.html @@ -0,0 +1,6 @@ +{{/* We use some Hugo built-in templates, you can find their source here: */}} +{{/* https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}} + +{{- template "_internal/schema.html" . }} +{{- template "_internal/opengraph.html" . }} +{{- template "_internal/twitter_cards.html" . }} |
