working on social icons presentation. Still needs some heavy lifting.
[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 */}}
50cea8ca 4{{ if .IsPage }}
5 {{ if isset .Params "featured_image" }}
6 <style media="screen">
7 header#masthead {
8 height: 60vh;
9 background-image: url( {{ $.Params.featured_image | absURL }} );
10 background-repeat: no-repeat;
11 background-position: center center;
12 background-attachment: fixed;
13 }
14 </style>
15 {{ end }}
e28a215c 16{{ end }}