Skip to content

Commit

Permalink
Fix .Get error for url_text
Browse files Browse the repository at this point in the history
  • Loading branch information
fekete-robert authored and chalin committed Feb 8, 2024
1 parent f47cf3b commit 30173ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/blocks/feature.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ <h4 class="h3">
<div class="mb-0">
{{ .Inner }}
</div>
{{ with .Get "url" }}<p><a href="{{ . }}">{{ with .Get "url_text" }}{{ . }}{{ else }}{{ T "ui_read_more" }} …{{ end }}</a></p>{{ end }}
{{ with .Get "url" }}<p><a href="{{ . }}">{{ with $.Get "url_text" }}{{ . }}{{ else }}{{ T "ui_read_more" }} …{{ end }}</a></p>{{ end }}
</div>

0 comments on commit 30173ca

Please sign in to comment.