diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3728b97..41fc462 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -78,6 +78,18 @@ <link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" media="screen" crossorigin="anonymous"> <!-- End --> +<!-- Custom wallpaper (optional) --> +{{- if .Site.Params.wallpaper }} +<style> + .wallpaper { + background-image: url('{{ .Site.Params.wallpaper }}'); + background-repeat: no-repeat; + background-attachment: fixed; + background-size: cover; + } +</style> +{{- end }} + <!-- custom css --> {{ range .Site.Params.customCSS }} <link rel="stylesheet" href="{{ "/css/" | relURL }}{{ . }}"> |