mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-13 00:10:51 +00:00
15 lines
418 B
HTML
15 lines
418 B
HTML
{{- $size := default "regular" (.Get "size" | lower) }}
|
|
|
|
{{- if not (in (slice "regular" "large" "small") $size) }}
|
|
{{- $size = "regular" }}
|
|
{{- end }}
|
|
|
|
|
|
<div class="gdoc-columns gdoc-columns--{{ $size }} flex flex-gap flex-mobile-column">
|
|
{{- range split .Inner "<--->" }}
|
|
<div class="gdoc-columns__content gdoc-markdown--nested flex-even">
|
|
{{ . | $.Page.RenderString -}}
|
|
</div>
|
|
{{- end }}
|
|
</div>
|