feat: Add social metadata for LD+JSON

This commit is contained in:
Killian Kemps 2022-02-15 10:09:08 +01:00
parent 679a554715
commit 63eb1b60bd
1 changed files with 10 additions and 0 deletions

View File

@ -57,3 +57,13 @@
{{ else }} {{ else }}
<meta name="keywords" content="{{ $.Site.Params.Keywords }}" /> <meta name="keywords" content="{{ $.Site.Params.Keywords }}" />
{{ end }} {{ end }}
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "WebSite",
"name": "{{ default .site.Title .Title }}",
"image": "{{ .Site.Params.SocialImage }}",
"about": "{{ $.Site.Params.description }}"
}
</script>