Description du site & compte Mastodon

* Améliore la métadonnée
  "Description du site web"

* Ajoute la vérification du compte
  Mastodon dans la balise <head>

Co-Authored-by: Racine Alexandre <alex@alexracine.ch>
Alexandre Racine 2023-09-17 21:11:41 +02:00
parent 83f22f44a3
commit 1c20e08cb7
2 changed files with 4 additions and 1 deletions

View File

@ -90,7 +90,7 @@ unsafe= true
[params] [params]
Description = "Site web personnel d'Alexandre Racine." Description = "Site web personnel d'Alexandre Racine. Bibliothécaire - Lausanne. aka alerac - aka racilex"
Image = "avatar-800.png" Image = "avatar-800.png"
ImageDescription = "silhouette d'un homme de profil sur fond bleu." ImageDescription = "silhouette d'un homme de profil sur fond bleu."
License = "http://creativecommons.org/licenses/by/4.0/" License = "http://creativecommons.org/licenses/by/4.0/"

View File

@ -46,6 +46,9 @@
{{ end }} {{ end }}
<meta property="og:url" content="{{ .Permalink }}"> <meta property="og:url" content="{{ .Permalink }}">
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
{{ if .Site.Params.online.mastodon }}
<link rel="me" href="{{ .Site.Params.online.mastodon }}">
{{ end }}
<link rel="canonical" href="{{ .Permalink }}"> <link rel="canonical" href="{{ .Permalink }}">
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"> <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/"> <link rel="schema.DCTERMS" href="http://purl.org/dc/terms/">