| 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 { |
| 7 | background-image: url( {{ $.Params.featured_image | urlize }} ); |
| 8 | } |
| 9 | </style> |
| 10 | {{ end }} |