danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
added curriculum section. Needs working.
[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 .IsPage }}
5
{{ if isset .Params
"featured_image"
}}
6
<style
media
=
"screen"
>
7
#banner {
8
background-image: url( {{ $.Params.featured_image | absURL }} );
9
}
10
</style>
11
{{ end }}
12
{{ end }}