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.
This commit is contained in:
Bjørn Erik Pedersen
2025-03-08 12:30:58 +01:00
parent c540e6d295
commit e272b2039c
+2 -2
View File
@@ -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 }}
<div
class="hidden lg:block cursor-pointer outline-2 hover:outline-3 outline-blue-500 w-10 h-10">