danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b298b5ef80520269763dd5e5e1b112d56460c5fd
[theme-danix.xyz.git]
/
layouts
/
partials
/
head-addition.html
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 }}