From 435b96033a972c34311c94561ef04331edea068a Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Sat, 13 Aug 2022 15:18:03 +0200 Subject: [PATCH] feat: meta pour la home --- src/_includes/common-metas.njk | 2 +- src/_includes/layouts/home.njk | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/_includes/common-metas.njk b/src/_includes/common-metas.njk index acd4ea6..28d27ab 100644 --- a/src/_includes/common-metas.njk +++ b/src/_includes/common-metas.njk @@ -6,7 +6,7 @@ { "@context": "https://schema.org", "@type": "{{ type or "Article" }}", - "headline": "{{ title }}", + "headline": "{{ headline or title }}", "mainEntityOfPage": { "@type": "WebPage", "@id": "{{ metadata.url + page.url }}" diff --git a/src/_includes/layouts/home.njk b/src/_includes/layouts/home.njk index 018611b..b0fb940 100644 --- a/src/_includes/layouts/home.njk +++ b/src/_includes/layouts/home.njk @@ -1,4 +1,7 @@ --- layout: layouts/base.njk +type: Webpage +image: /images/Logo.jpg +headline: NonSco’llectif --- {{ content | safe }}