mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-12-27 22:30:20 +00:00
21 lines
668 B
HTML
21 lines
668 B
HTML
{{ $st := .page }}
|
|
{{ $columns := $st.Params.design.columns | default "2" }}
|
|
|
|
<div class="row">
|
|
{{ if ne $columns "1" }}
|
|
<div class="col-12 col-lg-4 section-heading">
|
|
{{ with $st.Title }}<h1>{{ . | markdownify | emojify }}</h1>{{ end }}
|
|
{{ with $st.Params.subtitle }}<p>{{ . | markdownify | emojify }}</p>{{ end }}
|
|
</div>
|
|
<div class="col-12 col-lg-8">
|
|
{{ $st.Content }}
|
|
</div>
|
|
{{ else }}
|
|
<div class="col-lg-12">
|
|
{{ with $st.Title }}<h1>{{ . | markdownify | emojify }}</h1>{{ end }}
|
|
{{ with $st.Params.subtitle }}<p>{{ . | markdownify | emojify }}</p>{{ end }}
|
|
{{ $st.Content }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|