Replace section tags with div

This commit is contained in:
Will Faught
2023-03-04 13:27:05 -08:00
parent 12a356dd0e
commit 1074859c63
18 changed files with 45 additions and 45 deletions

View File

@@ -8,7 +8,7 @@
{{ partial "paige/metadata.html" $page }}
{{ if or $page.Params.paige.home.image.url $page.Params.paige.home.greeting $page.Params.paige.home.blurb }}
<section>
<div>
{{ if $page.Params.paige.home.image.url }}
{{ $class := cond ($stretch | not) "mw-100 rounded-4 shadow" "rounded-4 shadow w-100" }}
{{ $style := cond ($stretch | not) "height: 20rem; width: auto" "height: 20rem; object-fit: cover; width: 100%" }}
@@ -40,7 +40,7 @@
</div>
</div>
{{ end }}
</section>
</div>
{{ end }}
{{ partial "paige/toc.html" $page }}

View File

@@ -4,7 +4,7 @@
{{ partial "paige/article.html" $page }}
{{ if $page.Pages }}
<section>
<div id="paige-pages">
<ul class="list-inline text-center">
{{ range (sort $page.Pages "Title") }}
<li class="list-inline-item">
@@ -12,6 +12,6 @@
</li>
{{ end }}
</ul>
</section>
</div>
{{ end }}
{{ end }}