From fb945ba3c1c1317bb70eba9d998cc6d690d077d5 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 15 Oct 2020 10:21:33 +0530 Subject: json-schema: add support for Rich Results: Json schema for structured data (#36) * json-schema: init * sameAs can be set through .Site.Params.schema.sameAs * if it is not specified but social-icons exsists, we use social-icons for sameAs vars * .Site.Params.schema.sameAs overrides social-icons * publisherType can be changed via .Site.Params.schema.publisherType --- layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 55fa132..1f78628 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -51,5 +51,5 @@ {{- template "_internal/google_analytics_async.html" . }} {{- template "partials/templates/opengraph.html" . }} {{- template "partials/templates/twitter_cards.html" . }} -{{- template "partials/templates/schema.html" . }} -{{- end }} \ No newline at end of file +{{- template "partials/templates/schema_json.html" . }} +{{- end }} -- cgit v1.2.3