hugo-theme-lowtech/layouts/shortcodes/grid.html

4 lines
143 B
HTML

{{ $class := .Get "class" }}
{{ $body := .Get "text" | default .Inner }}
<div class="grid{{ with $class }} {{ . }}{{ end }}">{{ $body }}</div>