9 lines
278 B
HTML
9 lines
278 B
HTML
|
{{- $content := .Inner }}
|
||
|
{{- if not $content }}
|
||
|
{{- errorf "missing content for column: %s" .Position }}
|
||
|
{{- end }}
|
||
|
{{- $centered := cond (default true (.Get "centered")) " centered" "" }}
|
||
|
<div class="pure-u-1-1 pure-u-md-1-2{{ $centered }}">
|
||
|
{{ markdownify $content }}
|
||
|
</div>
|