feat: titre de partage dynamique

main
Jalil Arfaoui 2023-12-26 16:10:29 +01:00
parent edb04c3ba5
commit 1637884227
1 changed files with 2 additions and 2 deletions

View File

@ -8,14 +8,14 @@
<meta property="og:locale" content="fr_FR">
<meta property="og:site_name" content="Compagnie Kalimat">
<meta property="og:type" content="article">
<meta property="og:title" content="Compagnie Kalimat">
<meta property="og:title" content="{{ title or metadata.title or "Compagnie Kalimat" }}">
{% if description %}<meta property="og:description" content="{{ description }}">{% endif %}
<meta property="og:url" content="https://compagniekalimat.fr/">
<meta property="og:image" content="{{ image or "/images/logo-compagnie-kalimat-960.png" }}">
<meta property="article:published_time" content="{{ page.date | htmlDateTimeISO }}">
<meta property="article:modified_time" content="{{ page.date | htmlDateTimeISO }}">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Compagnie Kalimat">
<meta name="twitter:title" content="{{ title or metadata.title or "Compagnie Kalimat" }}">
{% if description %}<meta name="twitter:description" content="{{ description }}">{% endif %}
<meta name="twitter:image" content="{{ image or "/images/logo-compagnie-kalimat-960.png" }}">