feat: tweaks

This commit is contained in:
Iain Learmonth 2026-01-26 09:00:12 +00:00
parent c6c01ffb8b
commit 6f61ccff24
6 changed files with 18 additions and 6 deletions

View file

@ -25,7 +25,7 @@
{{ end }}>
{{ range site.Params.footer.col2.items }}
{{ if .title }}
<h6 class="footer__menu__title">{{ .title }}</h6>
<h3 class="footer__menu__title">{{ .title }}</h3>
{{ else if .text }}
<a class="footer__menu__link" href="{{ .href | safeURL }}">
{{ if .icon }}
@ -62,7 +62,7 @@
{{ end }}>
{{ range site.Params.footer.col3.items }}
{{ if .title }}
<h6 class="footer__menu__title">{{ .title }}</h6>
<h3 class="footer__menu__title">{{ .title }}</h3>
{{ else if .text }}
<a class="footer__menu__link" href="{{ .href | safeURL }}">
{{ if .icon }}

View file

@ -10,10 +10,10 @@
{{ partial "header.html" . }}
</header>
<main>
{{ block "main-fullwidth" . }}{{ end }}
<div class="main__content">
{{ block "main" . }}{{ end }}
</div>
{{ block "main-fullwidth" . }}{{ end }}
</main>
<footer>
{{ partial "footer.html" . }}

View file

@ -1,6 +1,4 @@
{{ define "main" }}
{{ .Content }}
{{ end }}
{{ define "main-fullwidth" }}
{{ .Content }}
{{ partial "home.html" . }}
{{ end }}