mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
parent
c15f621515
commit
64b7d5189b
1 changed files with 2 additions and 2 deletions
|
@ -113,12 +113,12 @@
|
|||
<div class="row {{if not $st.Title | or (eq $columns "1") }}justify-content-center{{end}}">
|
||||
{{ if $st.Title }}
|
||||
{{ if eq $columns "1" }}
|
||||
<div class="section-heading col-12 mb-3 d-flex justify-content-center">
|
||||
<div class="section-heading col-12 mb-3 text-center">
|
||||
{{ with $st.Title }}<h1 class="mb-0">{{ . | markdownify | emojify }}</h1>{{ end }}
|
||||
{{ with $st.Params.subtitle }}<p class="mt-1">{{ . | markdownify | emojify }}</p>{{ end }}
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="section-heading col-12 col-lg-4 mb-3 mb-lg-0 d-flex justify-content-lg-start justify-content-center">
|
||||
<div class="section-heading col-12 col-lg-4 mb-3 mb-lg-0 d-flex flex-column align-items-center align-items-lg-start">
|
||||
{{ with $st.Title }}<h1 class="mb-0">{{ . | markdownify | emojify }}</h1>{{ end }}
|
||||
{{ with $st.Params.subtitle }}<p class="mt-1">{{ . | markdownify | emojify }}</p>{{ end }}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue