pages/layouts/partials/scrolling-image-header.html

15 lines
429 B
HTML

{{ $millironx := resources.Get "graphics/millironx.svg" }}
<div class="blurred-container">
<div class="motto">
<h1 id="motto">
{{ default .Title (safeHTML (.Param "motto")) }}
</h1>
</div>
{{ $imgsrc := print "images/" (.Param "cardImage") ".jpg" }}
{{ $mainimg := resources.Get $imgsrc }}
<div
class="img-src"
style="background-image: url('{{ $mainimg.RelPermalink }}');"
></div>
</div>
<br />