From 1db60b2c7b129b70d2141469492b719f4d8ca045 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Thu, 10 Dec 2020 03:22:54 +0100 Subject: [PATCH] author if 1 authors if more --- .../Drawwell/SandpointsTheme/layouts/partials/singlebody.html | 2 +- _vendor/modules.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html index 854e41b..6cfda2b 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html @@ -21,7 +21,7 @@ {{- with $.GetPage (printf "/author/%s" $v) -}} {{- with not $k -}}
-
authors⁄
+
author{{ with $.Page.Params.authors }}{{ if gt (len .) 1 }}s{{ end }}{{ end }}⁄
{{- end -}}
diff --git a/_vendor/modules.txt b/_vendor/modules.txt index e6e13b2..f29e5a7 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1 +1 @@ -# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201210015902-0bc52794a305 +# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201210022117-bb1565b1affc