casper3 | add new theme
This commit is contained in:
parent
909ebbc5d7
commit
57089e42ce
28 changed files with 417 additions and 0 deletions
10
themes/casper3/layouts/partials/header-background.html
Normal file
10
themes/casper3/layouts/partials/header-background.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{{ if .Scratch.Get "background" }}
|
||||
<style type="text/css">
|
||||
.responsive-header-img {
|
||||
background-image: url('{{ .Scratch.Get "background" }}');
|
||||
}
|
||||
</style>
|
||||
<div class="outer site-header-background responsive-header-img">
|
||||
{{ else }}
|
||||
<div class="outer site-header-background no-image">
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue