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
This commit is contained in:
parent
95e6bf1e13
commit
fb945ba3c1
3 changed files with 67 additions and 33 deletions
|
|
@ -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 }}
|
||||
{{- template "partials/templates/schema_json.html" . }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue