first version

This commit is contained in:
2020-02-26 23:41:42 +01:00
parent 8f7d784ed2
commit ca2764655a
16 changed files with 189 additions and 2 deletions

View File

@ -0,0 +1,10 @@
{{ $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>