diff --git a/hugo.yml b/hugo.yml index 1584c0270..cf0e7529e 100644 --- a/hugo.yml +++ b/hugo.yml @@ -98,8 +98,8 @@ params: analytics: fathom_site: "ITUSEYJG" - # This is currently used by Hugo's internal twitter_cards.html and opengraph.html templates; - # the first image in the following array is always used, unless specified in the front matter + # This is currently used by Hugo's internal templates; the first image + # in the following array is always used, unless specified in the front matter images: - "/assets/img/bootstrap-social.png" diff --git a/src/layouts/_default/baseof.html b/src/layouts/_default/baseof.html index edc75d5e4..53189319e 100644 --- a/src/layouts/_default/baseof.html +++ b/src/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - +
{{ partial "head" . }} diff --git a/src/layouts/partials/social.html b/src/layouts/partials/social.html index 4545a1b22..0abc92038 100644 --- a/src/layouts/partials/social.html +++ b/src/layouts/partials/social.html @@ -9,7 +9,7 @@ {{ template "_internal/twitter_cards.html" . -}} -{{- /* Manually add `twitter:creator` since Hugo's internal shortcode has some issues */ -}} +{{- /* Manually add `twitter:creator` since Hugo's internal shortcode doesn't add it */ -}} {{ template "_internal/opengraph.html" . -}} @@ -20,3 +20,5 @@ {{- end }} + +{{ template "_internal/schema.html" . -}}