From 4bedab4a56da63cceccbbf2e5e671aeb43e327a5 Mon Sep 17 00:00:00 2001 From: Robert Fekete Date: Wed, 26 Apr 2023 09:00:33 +0200 Subject: [PATCH] Fix .Get error for url_text --- layouts/shortcodes/blocks/feature.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/blocks/feature.html b/layouts/shortcodes/blocks/feature.html index 4417c509f..906bd3abf 100644 --- a/layouts/shortcodes/blocks/feature.html +++ b/layouts/shortcodes/blocks/feature.html @@ -9,5 +9,5 @@

{{ .Inner }}
-{{ with .Get "url" }}

{{ with .Get "url_text" }}{{ . }}{{ else }}{{ T "ui_read_more" }} …{{ end }}

{{ end }} +{{ with .Get "url" }}

{{ with $.Get "url_text" }}{{ . }}{{ else }}{{ T "ui_read_more" }} …{{ end }}

{{ end }}