summaryrefslogtreecommitdiff
path: root/themes/beautifulhugo/layouts/partials/seo/structured/website.html
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2019-08-03 22:26:50 +0200
committerChristoph Cullmann <cullmann@kde.org>2019-08-03 22:26:50 +0200
commitec1341fcd178d72e1accd308d1ae314702e69c01 (patch)
tree927c5113475a982af7a4809af78a8f4b4990be62 /themes/beautifulhugo/layouts/partials/seo/structured/website.html
parent05bc58562c52539f196ae4357afd80a23d34e812 (diff)
use new theme
Diffstat (limited to 'themes/beautifulhugo/layouts/partials/seo/structured/website.html')
-rw-r--r--themes/beautifulhugo/layouts/partials/seo/structured/website.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/beautifulhugo/layouts/partials/seo/structured/website.html b/themes/beautifulhugo/layouts/partials/seo/structured/website.html
new file mode 100644
index 0000000..107e7fb
--- /dev/null
+++ b/themes/beautifulhugo/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> \ No newline at end of file