fix: page header images

This commit is contained in:
Ben Goldsworthy 2025-02-20 01:24:28 +01:00
parent a599cb5ebc
commit 397774be5b
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@
<div class="article-header__featured-image"
{{ with .pc.Params.featured_image }}
{{ with ( $.pc.Resources.GetMatch . ) }}
style="background-image: url({{ partialCached "images/get-image.html" ( dict "img" . ) . }})"
style="background-image: url({{ partialCached "images/get-image.html" ( dict "img" . ) $.pc }})"
{{ else }}
style="background-image: url({{ . }})"
{{ end }}