histoiredunpied/layouts/shortcodes/grid.html

4 lines
143 B
HTML
Raw Normal View History

2020-02-14 16:40:46 +01:00
{{ $class := .Get "class" }}
{{ $body := .Get "text" | default .Inner }}
<div class="grid{{ with $class }} {{ . }}{{ end }}">{{ $body }}</div>