summaryrefslogtreecommitdiff
path: root/themes/beautifulhugo/layouts/partials/seo/structured/organization.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/beautifulhugo/layouts/partials/seo/structured/organization.html')
-rw-r--r--themes/beautifulhugo/layouts/partials/seo/structured/organization.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/beautifulhugo/layouts/partials/seo/structured/organization.html b/themes/beautifulhugo/layouts/partials/seo/structured/organization.html
new file mode 100644
index 0000000..117bccd
--- /dev/null
+++ b/themes/beautifulhugo/layouts/partials/seo/structured/organization.html
@@ -0,0 +1,12 @@
+<script type="application/ld+json">
+{
+ "@context": "http://schema.org",
+ "@type": "Organization",
+ "name": "{{ .Site.Params.organizationName }}",
+ "url": "{{ .Site.BaseURL }}"
+ {{ with .Site.Params.socialProfiles }}, "sameAs": {{ . }}{{ end }}
+ {{ with .Site.Params.organizationLogo }}, "logo": "{{ . }}"{{ end }}
+ {{ with .Site.Params.organizationAddress }}, "address": "{{ . }}"{{ end }}
+ {{ with .Site.Data.organization.contacts.contactPoint }}, "contactPoint": {{ . }}{{ end }}
+}
+</script> \ No newline at end of file