Fix blob images using root url instead of baseURL

This commit is contained in:
Joe Hutchinson
2020-10-22 14:16:43 -04:00
parent 57bc14b43b
commit f9d9e62a57
3 changed files with 2 additions and 4 deletions

View File

@@ -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 }}