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

8 lines
162 B
HTML

{{ $colClass := "" }}
{{- with .Get "columns" }}
{{ $colClass = (print "cols-" .) }}
{{ end -}}
<div class="tsc-gallery {{ $colClass }}">
{{ .Inner }}
</div>