feat: Add social metadata for LD+JSON
This commit is contained in:
parent
679a554715
commit
63eb1b60bd
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue