diff --git a/layouts/partials/blocks/templates/posts/highlight.html b/layouts/partials/blocks/templates/posts/highlight.html index 0fe88ae77e57f83a3ac00b91d599dbf045bf00f9..9a2cc62ff41f977a36dbe0f6bdf29ea54b1adf27 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 fdff2628ac94df8757000e7398e77852978a200f..6430cdc42d7923988687eff927169f52298af61d 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>