summaryrefslogtreecommitdiffstats
path: root/layouts/partials/schema.org/website.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/schema.org/website.html')
-rw-r--r--layouts/partials/schema.org/website.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/partials/schema.org/website.html b/layouts/partials/schema.org/website.html
new file mode 100644
index 0000000..ef6609e
--- /dev/null
+++ b/layouts/partials/schema.org/website.html
@@ -0,0 +1,10 @@
+<script type="application/ld+json">
+ {
+ "@context": "https://schema.org",
+ "@type": "WebSite",
+ "name": {{ partial "title.html" . }},
+ "url": {{ site.BaseURL }}
+ }
+</script>
+{{- /* TODO: Add "potentialAction" with search.
+ For more see: https://developers.google.com/structured-data/slsb-overview */ -}}