hugo_idunn/layouts/partials/front.html

7 lines
240 B
HTML

<main class="front-screen">
{{ if $.Params.background }}
<img class="front-screen_image" src="{{ $.Site.BaseURL }}{{ print (index $.Params.background 0) }}"/> {{ end }}
<div class="front-screen_caption">
{{ .Content }}
</div>
</main>