2022-06-28 23:33:10 -04:00
|
|
|
{{ $millironx := resources.Get "graphics/millironx.svg" }}
|
|
|
|
<div class="blurred-container">
|
|
|
|
<div class="motto">
|
|
|
|
<h1 id="motto">
|
2023-07-01 18:35:01 -04:00
|
|
|
{{ default .Title (safeHTML (.Param "motto")) }}
|
2022-06-28 23:33:10 -04:00
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
{{ $imgsrc := print "images/" (.Param "cardImage") ".jpg" }}
|
|
|
|
{{ $mainimg := resources.Get $imgsrc }}
|
|
|
|
{{ $blurimg := $mainimg.Filter (images.GaussianBlur 100) }}
|
|
|
|
<div
|
|
|
|
class="img-src"
|
|
|
|
style="background-image: url('{{ $mainimg.RelPermalink }}');"
|
|
|
|
></div>
|
|
|
|
<div
|
|
|
|
class="img-src blur"
|
|
|
|
style="background-image: url('{{ $blurimg.RelPermalink }}');"
|
|
|
|
></div>
|
|
|
|
</div>
|
|
|
|
<br />
|