diff options
author | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-04-06 20:29:14 +0300 |
---|---|---|
committer | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-04-06 20:29:14 +0300 |
commit | 5ad129123f7adb11c55b6c749d9db721efa28514 (patch) | |
tree | 14dc523574b6306912e57f309f4c9139c820109b /layouts | |
parent | 48c3e49e74cdceef8cae0cd611e6cfaef5b2972d (diff) |
Move background image from SCSS to inline style
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 7501545..f7478f3 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -22,6 +22,12 @@ {{- $style := resources.Get "scss/stip.scss" | resources.ExecuteAsTemplate "style.hallo.scss" . | toCSS $cssOptions }} <link rel="stylesheet" href="{{ $style.RelPermalink }}"> + <style> + body { + background: url('{{ "images/background.jpg" | relURL }}'); + } + </style> + <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lora"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.2/css/all.css" integrity="sha384-/rXc/GQVaYpyDdyxK+ecHPVYJSN9bmVFBvjA/9eOB+pb3F2w2N6fc5qB9Ew5yIns" crossorigin="anonymous"> |