From b2c0404971b790c7c909c16c6eb73c2168d7f2e9 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Wed, 9 Nov 2022 17:37:31 +0100 Subject: [PATCH] remove article in single post --- layouts/posts/single.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 49bb3bb4..2fc0b676 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,7 +1,7 @@ {{ define "main" }} {{ partial "posts/hero-single.html" . }} - <article itemscope itemtype="https://schema.org/NewsArticle"> + <section itemscope itemtype="https://schema.org/NewsArticle"> <meta itemprop="headline" content="{{ partial "PrepareHTML" .Title }}"> <meta itemprop="url" content="{{ .Permalink }}"> {{ if .Date }}<meta itemprop="datePublished" content="{{ .Date.Format "2006-01-02T15:04" }}">{{ end }} @@ -28,5 +28,5 @@ </div> </div> </div> - </article> + </section> {{ end }} -- GitLab