caper3 | changes to layout
This commit is contained in:
parent
57089e42ce
commit
e3e649a34b
2 changed files with 3 additions and 4 deletions
|
|
@ -3,7 +3,6 @@
|
|||
{{ define "main" }}
|
||||
|
||||
<header class="site-home-header">
|
||||
{{ .Scratch.Set "background" .Params.feature_image }}
|
||||
{{- partial "header-background.html" . -}}
|
||||
<div class="inner">
|
||||
{{- partial "site-nav.html" . -}}
|
||||
|
|
@ -33,4 +32,4 @@
|
|||
</div>
|
||||
</main>
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{{ if .Scratch.Get "background" }}
|
||||
{{ if $.Site.Params.cover }}
|
||||
<style type="text/css">
|
||||
.responsive-header-img {
|
||||
background-image: url('{{ .Scratch.Get "background" }}');
|
||||
background-image: url('{{ $.Site.Params.cover }}');
|
||||
}
|
||||
</style>
|
||||
<div class="outer site-header-background responsive-header-img">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue