2022-06-29 03:33:10 +00:00
|
|
|
{{ $millironx := resources.Get "graphics/millironx.svg" }}
|
|
|
|
<div class="blurred-container">
|
|
|
|
<div class="motto">
|
|
|
|
<h1 id="motto">
|
2023-07-01 22:35:01 +00:00
|
|
|
{{ default .Title (safeHTML (.Param "motto")) }}
|
2022-06-29 03:33:10 +00: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 />
|