danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
deleted fontawesome. replacing with plain svgs.
[theme-danix.xyz.git]
/
layouts
/
partials
/
head-addition.html
diff --git
a/layouts/partials/head-addition.html
b/layouts/partials/head-addition.html
index
b298b5e
..
fdfaef9
100644
(file)
--- a/
layouts/partials/head-addition.html
+++ b/
layouts/partials/head-addition.html
@@
-4,7
+4,11
@@
{{ if isset .Params "featured_image" }}
<style media="screen">
header#masthead {
{{ if isset .Params "featured_image" }}
<style media="screen">
header#masthead {
- background-image: url( {{ $.Params.featured_image | urlize }} );
+ height: 60vh;
+ background-image: url( {{ $.Params.featured_image | absURL }} );
+ background-repeat: no-repeat;
+ background-position: center center;
+ background-attachment: fixed;
}
</style>
{{ end }}
}
</style>
{{ end }}