I want to create a simple gallery page that does not contain any text other than the title.
+++
title = 'New York'
date = 2023-10-07
draft = false
+++
{{< carousel images="NYC-*.jpg" >}}
+++
title = 'New York'
date = 2023-10-07
draft = false
+++
{{< gallery >}}
<img src="NYC-01.jpg" class="grid-w50 md:grid-w33 xl:grid-w25" />
<img src="NYC-02.jpg" class="grid-w50 md:grid-w33 xl:grid-w25" />
<img src="NYC-03.jpg" class="grid-w50 md:grid-w33 xl:grid-w25" />
{{< /gallery >}}
Neither of these show anything when being built by hugo, but if I add random text above or below these, the gallery or carousel shows up matching the width of the text.
I don't have a publicly available example but it should be easy enough to reproduce.