gmgsite/themes/hugo-casper3/layouts/partials/header-background.html

16 lines
490 B
HTML
Raw Normal View History

2022-07-14 23:12:56 +02:00
{{ 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 }}
<style type="text/css">
.responsive-header-img {
background-image: url('/introbg.svg');
}
</style>
<div class="outer site-header-background responsive-header-img fadein">
2022-07-14 23:12:56 +02:00
{{ end }}