Merge pull request 'feat: Add social metadata for LD+JSON' (#1) from killian/hugo-theme-lowtech:social-metadata-ls into master

## Détails

- Ajoute des metadata standards pour les réseaux sociaux

## Pourquoi

Ne pas dépendre des conventions Twitter et Facebook. Utiliser les standards de l'IndieWeb

## Références
https://tree.taiga.io/project/killiankemps-resilien/us/411

Reviewed-on: https://git.weko.io/kosssi/hugo-theme-lowtech/pulls/1
This commit is contained in:
Simon 2022-02-16 12:51:46 +01:00
commit 2f1f498090
1 changed files with 10 additions and 0 deletions

View File

@ -57,3 +57,13 @@
{{ else }}
<meta name="keywords" content="{{ $.Site.Params.Keywords }}" />
{{ 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>