From 96a0148a1ff3aed75284d976069e9fc38307bcc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20K=C3=A1n=C4=9B?= Date: Mon, 7 Sep 2020 14:22:49 +0200 Subject: [PATCH] Fix partials/linkedContent There was a forgotten debug constant --- themes/patek/layouts/partials/linkedContent.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/patek/layouts/partials/linkedContent.html b/themes/patek/layouts/partials/linkedContent.html index 0ecf245..848ea0b 100644 --- a/themes/patek/layouts/partials/linkedContent.html +++ b/themes/patek/layouts/partials/linkedContent.html @@ -15,7 +15,7 @@ {{- else if (eq $type "text") -}} {{- .data -}} {{- else if (eq $type "resource") -}} - {{- $resource := $.resources.GetMatch "fablab-experience.jpg" -}} + {{- $resource := $.resources.GetMatch .data -}} {{ $desc }} {{- else -}} {{- errorf "Unknown content type %s" $type -}}