From 860decdb9d89d77f86cca28a320b0a275109331e Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Mon, 13 Feb 2023 18:11:31 +0100 Subject: [PATCH] remove test data --- layouts/partials/blocks/templates/posts/highlight.html | 5 +---- layouts/partials/posts/post.html | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/layouts/partials/blocks/templates/posts/highlight.html b/layouts/partials/blocks/templates/posts/highlight.html index 0fe88ae7..9a2cc62f 100644 --- a/layouts/partials/blocks/templates/posts/highlight.html +++ b/layouts/partials/blocks/templates/posts/highlight.html @@ -38,10 +38,7 @@ <div class="post-meta"> <time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04" }}">{{ .Date | time.Format ":date_long" }}</time> {{ if site.Params.posts.index.show_author }} - {{/* {{- partial "posts/author" . -}} */}} - <div class="post-author" itemscope itemtype="https://schema.org/Person" itemprop="author"> - <p itemprop="name">Magali Anglès</p> - </div> + {{- partial "posts/author" . -}} {{ end }} </div> </article> diff --git a/layouts/partials/posts/post.html b/layouts/partials/posts/post.html index fdff2628..6430cdc4 100644 --- a/layouts/partials/posts/post.html +++ b/layouts/partials/posts/post.html @@ -32,11 +32,7 @@ <div class="post-meta"> <time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04" }}">{{ .Date | time.Format ":date_long" }}</time> {{ if site.Params.posts.index.show_author }} - {{/* {{- partial "posts/author" . -}} */}} - - <div class="post-author" itemscope itemtype="https://schema.org/Person" itemprop="author"> - <p itemprop="name">Magali Anglès</p> - </div> + {{- partial "posts/author" . -}} {{ end }} </div> -- GitLab