aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/layouts/articles
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-05-27 18:30:55 -0400
committerPaul Duncan <pabs@pablotron.org>2024-05-27 18:30:55 -0400
commit56e8dd66230f9441f89bdb74577f98c560760824 (patch)
tree7687de1b15934f570748c2250031dd776d10ef84 /themes/hugo-pt2021/layouts/articles
parent3ca6ff9e361c7106e48b76cebc5902461c07dbc1 (diff)
downloadpablotron.org-56e8dd66230f9441f89bdb74577f98c560760824.tar.bz2
pablotron.org-56e8dd66230f9441f89bdb74577f98c560760824.zip
themes/hugo-pt2021/layouts/articles/single.html: support top and bottom image carousel
Diffstat (limited to 'themes/hugo-pt2021/layouts/articles')
-rw-r--r--themes/hugo-pt2021/layouts/articles/single.html4
1 files changed, 4 insertions, 0 deletions
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 @@
</h2>
{{- end -}}
+ {{- partial "carousel.html" .Params.carousel.top -}}
+
<div class='content'>
{{- if .Params.toc -}}
<h2
@@ -29,6 +31,8 @@
{{- .Content -}}
</div><!-- content -->
+
+ {{- partial "carousel.html" .Params.carousel.bottom -}}
</div><!-- section -->
</div><!-- container -->
{{- end -}}