diff options
author | Joe Hutchinson <hutch7995@gmail.com> | 2020-10-22 21:16:43 +0300 |
---|---|---|
committer | Joe Hutchinson <hutch7995@gmail.com> | 2020-10-22 21:16:43 +0300 |
commit | f9d9e62a57e234f3dbc59e9381c2710e13eced50 (patch) | |
tree | 25b529d47ec7d914b57b0a8eb344207b1815c4d0 | |
parent | 57bc14b43bdbf627e50618978913044d62561378 (diff) |
Fix blob images using root url instead of baseURL
-rw-r--r-- | assets/css/style.css | 2 | ||||
-rw-r--r-- | layouts/_default/home.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/assets/css/style.css b/assets/css/style.css index 68765bf..5f5c55c 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -24,7 +24,6 @@ p { flex-direction: column; z-index: -1; color: white; - background-image: url('/img/home-blob.svg'); background-position: center; background-size: cover; } @@ -449,7 +448,6 @@ footer { justify-content: space-evenly; align-items: flex-end; color: white; - background-image: url('/img/home-blob-flip.svg'); background-position: 40% 0%; background-size: 50rem; } diff --git a/layouts/_default/home.html b/layouts/_default/home.html index a8f989b..43d097d 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -5,7 +5,7 @@ {{ partial "nav-bar.html" . }} <main class="card-container side-gutter"> {{ if or (not (eq .Description "")) (not (eq .Title "")) -}} - <header class="home-header"> + <header class="home-header" style="background-image: url('{{ "img/home-blob.svg" | absURL }}');"> <div class="home-blob-text-container"> {{ with .Title }}<h1 class="home-blob-title">{{ . }}</h1>{{ end }} {{ with .Description }}<p class="home-blob-text">{{ . }}</p>{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e1e163f..a4cf090 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,4 @@ -<footer class="side-padding"> +<footer class="side-padding" style="background-image: url('{{ "img/home-blob-flip.svg" | absURL }}');"> <a href="{{ $.Site.BaseURL }}" class="footer-link"> {{ with resources.Get "icons/home-page.png" }} <img class="footer-icon" src="{{ .Permalink }}"> |