{{ partial "head.html" . }}
{{ .Scratch.Set "url" (cond (isset .Site.Params "heroimage") .Site.Params.heroImage "") }}
{{ .Scratch.Set "url" (cond (isset .Params "heroimage") .Params.heroImage (.Scratch.Get "url") ) }}
{{ if (ne (.Scratch.Get "url") "") }}
<style>
    .hero {
        background-image: url({{.Scratch.Get "url"}});
        background-position: center;
        background-repeat: no-repeat;
        background-size:  cover;
        height: 400px;
    }
    .title-metas, .hat {
        position: 