From c643883250482cedd11003b9bb5c02e6f577f957 Mon Sep 17 00:00:00 2001
From: Miguel de la Cruz
Date: Mon, 29 Jul 2024 13:34:53 +0200
Subject: [PATCH] Support multiple authors
---
themes/hugo-bearcub/layouts/_default/single.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/hugo-bearcub/layouts/_default/single.html b/themes/hugo-bearcub/layouts/_default/single.html
index 4f1c73b..f71fe61 100644
--- a/themes/hugo-bearcub/layouts/_default/single.html
+++ b/themes/hugo-bearcub/layouts/_default/single.html
@@ -5,7 +5,7 @@
- {{ with .Params.author }}· {{.}}{{ end }}
+ {{ with .Params.author }}· {{if (reflect.IsSlice .)}}{{delimit . ", "}}{{else}}{{.}}{{end}}{{ end }}
{{ end }}