From a11885f6eef10fb73391360725b79eba4d0866ad Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Tue, 18 Jul 2023 10:50:39 +0200 Subject: [PATCH] Fix authors list --- layouts/partials/publications/hero-single.html | 2 +- layouts/partials/publications/publication.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/publications/hero-single.html b/layouts/partials/publications/hero-single.html index aeac43fd..33fa4d9a 100644 --- a/layouts/partials/publications/hero-single.html +++ b/layouts/partials/publications/hero-single.html @@ -1,6 +1,6 @@ {{- partial "header/hero.html" (dict "title" .Title - "subtitle" .Params.authors + "subtitle" .Params.authors_list "context" . ) -}} diff --git a/layouts/partials/publications/publication.html b/layouts/partials/publications/publication.html index 9d0275d3..e953983c 100644 --- a/layouts/partials/publications/publication.html +++ b/layouts/partials/publications/publication.html @@ -2,7 +2,7 @@ {{ $title := .Title }} <a href="{{ .Permalink }}" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" $title)) }}">{{ partial "PrepareHTML" $title }}</a> <p class="publication-meta"> - {{ .Date.Format "2006" -}}{{- if .Params.authors -}},{{- end }} {{ .Params.authors }} + {{ .Date.Format "2006" -}}{{- if .Params.authors_list -}},{{- end }} {{ .Params.authors_list }} </p> <p class="publication-ref"> {{ partial "PrepareHTML" .Params.ref }} -- GitLab