Wrap stretch picture in p tag

This commit is contained in:
Will Faught
2022-12-16 16:39:25 -08:00
parent 9fbd7a4a28
commit e97b73c47a

View File

@@ -3,7 +3,9 @@
{{ partial "paige-description.html" . }}
{{ partial "paige-date.html" . }}
{{ with .Params.stretch }}
<div class="rounded-4 shadow" style="background-image: url('{{ relLangURL . }}'); background-position: center; background-size: cover; height: 20rem; max-width: 100%"></div>
<p>
<div class="rounded-4 shadow" style="background-image: url('{{ relLangURL . }}'); background-position: center; background-size: cover; height: 20rem; max-width: 100%"></div>
</p>
{{ end }}
{{ with .Params.center }}
<p class="text-center">