Correct URLs to be relative to the BaseURL

This commit is contained in:
2024-02-07 11:52:39 +00:00
parent 3056f1ac5a
commit c946e96522
8 changed files with 14 additions and 14 deletions

View File

@@ -29,7 +29,7 @@
{{ if .Params.hero_image }}
<div class="column is-half">
{{ block "hero-image" . }}
<img class="image hero-img" src="{{ .Params.hero_image }}">
<img class="image hero-img" src="{{ .Site.BaseURL }}images/{{ .Params.hero_image }}">
{{ end }}
</div>
{{ end }}