Add func-url.html

This commit is contained in:
Will Faught
2022-12-31 23:42:03 -08:00
parent b20b0008bc
commit 168be4b1a4
5 changed files with 16 additions and 24 deletions

View File

@@ -3,11 +3,11 @@
{{ partial "paige/metadata.html" . }}
<section>
{{ with .Params.stretch }}
<div class="mb-3 mw-100 rounded-4 shadow" style="background-image: url('{{ relLangURL . }}'); background-position: center; background-size: cover; height: 20rem"></div>
<div class="mb-3 mw-100 rounded-4 shadow" style="background-image: url('{{ partial `paige/func-url.html` . }}'); background-position: center; background-size: cover; height: 20rem"></div>
{{ end }}
{{ with .Params.center }}
<p class="text-center">
<img class="mw-100 rounded-4 shadow" fetchpriority="high" referrerpolicy="no-referrer" src="{{ relLangURL . }}" style="max-height: 20rem">
<img class="mw-100 rounded-4 shadow" fetchpriority="high" referrerpolicy="no-referrer" src="{{ partial `paige/func-url.html` . }}" style="max-height: 20rem">
</p>
{{ end }}
{{ with .Params.greeting }}