11 lines
284 B
HTML
11 lines
284 B
HTML
|
{{ $class := .Get "class" }}
|
||
|
{{ $body := .Get "text" | default .Inner }}
|
||
|
{{ $markdown := .Get "markdown" | default false }}
|
||
|
<div class="cell{{ with $class }} {{ . }}{{ end }}">
|
||
|
{{ if $markdown }}
|
||
|
{{ $.Page.RenderString .Inner }}
|
||
|
{{ else }}
|
||
|
{{ .Inner }}
|
||
|
{{ end }}
|
||
|
</div>
|