From e272b2039c120108f82b91fc2de7e3f713083e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 8 Mar 2025 12:30:58 +0100 Subject: [PATCH] theme: Fix inline partial refs I had a head scratching moment as to why this failed in my re-implementation of template handling in Hugo, but this isn't how we can have it behave going forward. --- layouts/partials/layouts/header/qr.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/layouts/header/qr.html b/layouts/partials/layouts/header/qr.html index ebd545628..ccc0ee959 100644 --- a/layouts/partials/layouts/header/qr.html +++ b/layouts/partials/layouts/header/qr.html @@ -1,9 +1,9 @@ {{ $t := debug.Timer "qr" }} -{{ $qr := partial "partials/_inline/qr" (dict +{{ $qr := partial "_inline/qr" (dict "page" $ "img_class" "w-10 bg-white view-transition-qr" ) }} -{{ $qrBig := partial "partials/_inline/qr" (dict "page" $ "img_class" "w-64 p-4") }} +{{ $qrBig := partial "_inline/qr" (dict "page" $ "img_class" "w-64 p-4") }} {{ $t.Stop }}