Skip to content

Commit 30173ca

Browse files
fekete-robertchalin
authored andcommitted
Fix .Get error for url_text
1 parent f47cf3b commit 30173ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/blocks/feature.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ <h4 class="h3">
99
<div class="mb-0">
1010
{{ .Inner }}
1111
</div>
12-
{{ with .Get "url" }}<p><a href="{{ . }}">{{ with .Get "url_text" }}{{ . }}{{ else }}{{ T "ui_read_more" }} …{{ end }}</a></p>{{ end }}
12+
{{ with .Get "url" }}<p><a href="{{ . }}">{{ with $.Get "url_text" }}{{ . }}{{ else }}{{ T "ui_read_more" }} …{{ end }}</a></p>{{ end }}
1313
</div>

0 commit comments

Comments
 (0)