7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-29 09:17:45 +00:00
web-ansol.org/themes/academic/layouts/partials/widgets/blank.html

21 lines
668 B
HTML
Raw Normal View History

2020-06-11 11:46:16 +00:00
{{ $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>