7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-27 00:07:43 +00:00
web-ansol.org/themes/academic/layouts/partials/jsonld/website.html

15 lines
364 B
HTML
Raw Normal View History

2020-06-11 11:46:16 +00:00
<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>