7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-26 13:50:21 +00:00
web-ansol.org/themes/academic/layouts/partials/jsonld/website.html
2020-06-11 12:46:16 +01:00

15 lines
364 B
HTML

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
{{- if site.Params.search.engine }}
"potentialAction": {
"@type": "SearchAction",
"target": {{ printf "%s?q={search_term_string}" site.BaseURL }},
"query-input": "required name=search_term_string"
},
{{end -}}
"url": {{site.BaseURL}}
}
</script>