hugo-page-test/themes/tsc_vfl/layouts/shortcodes/tsc/news/gallery.html

8 lines
162 B
HTML
Raw Normal View History

2023-10-25 12:38:54 +00:00
{{ $colClass := "" }}
{{- with .Get "columns" }}
{{ $colClass = (print "cols-" .) }}
{{ end -}}
<div class="tsc-gallery {{ $colClass }}">
{{ .Inner }}
</div>