initial cleanup of the styling.
[theme-danix.xyz.git] / layouts / partials / head-addition.html
CommitLineData
e28a215c 1{{/*
2 * Add the featured image to the header if it's present in the Front Matter
3 */}}
4{{ if isset .Params "featured_image" }}
5<style media="screen">
6 header#masthead {
92f65567 7 height: 60vh;
8 background-image: url( {{ $.Params.featured_image | absURL }} );
9 background-repeat: no-repeat;
10 background-position: center center;
11 background-attachment: fixed;
e28a215c 12 }
13</style>
14{{ end }}