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:
commit
2f1f498090
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue