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