From 56e8dd66230f9441f89bdb74577f98c560760824 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 27 May 2024 18:30:55 -0400 Subject: themes/hugo-pt2021/layouts/articles/single.html: support top and bottom image carousel --- themes/hugo-pt2021/layouts/articles/single.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'themes/hugo-pt2021/layouts/articles') diff --git a/themes/hugo-pt2021/layouts/articles/single.html b/themes/hugo-pt2021/layouts/articles/single.html index 5abab69..b038be5 100644 --- a/themes/hugo-pt2021/layouts/articles/single.html +++ b/themes/hugo-pt2021/layouts/articles/single.html @@ -14,6 +14,8 @@ {{- end -}} + {{- partial "carousel.html" .Params.carousel.top -}} +
{{- if .Params.toc -}}

+ + {{- partial "carousel.html" .Params.carousel.bottom -}}

{{- end -}} -- cgit v1.2.3