Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pjbakker/flexible-seo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/seo/structured/website.html')
-rw-r--r--layouts/partials/seo/structured/website.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/seo/structured/website.html b/layouts/partials/seo/structured/website.html
new file mode 100644
index 0000000..3f3b4ff
--- /dev/null
+++ b/layouts/partials/seo/structured/website.html
@@ -0,0 +1,9 @@
+<script type="application/ld+json">
+{
+ "@context": "http://schema.org",
+ "@type": "WebSite",
+ "name": "{{ .Site.Title }}",
+ {{- with .Site.Params.alternatePageName }}"alternateName": "{{ . }}",{{- end }}
+ "url": "{{ .Site.BaseURL }}"
+}
+</script>