From 88d83a615c6bbdc6f280aecff3f7e993161d9a94 Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Wed, 27 May 2020 01:53:24 +0200 Subject: [PATCH] fix: if statement in publications/single.html (#1715) Fixes Hugo v0.71.1 unable to build site. --- layouts/publication/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/publication/single.html b/layouts/publication/single.html index cf204ea4..3e2d43a9 100644 --- a/layouts/publication/single.html +++ b/layouts/publication/single.html @@ -11,7 +11,7 @@

{{ .Params.abstract | markdownify }}

{{ end }} - {{ if (.Params.publication_types) and (ne (index .Params.publication_types 0) "0") }} + {{ if and (.Params.publication_types) (ne (index .Params.publication_types 0) "0") }}