Merge pull request #2352 from servedsmart/fix-article-shortcode-link

🚑 Hotfix: Fix incorrect href in article shortcode
This commit is contained in:
Nuno C.
2025-07-21 10:13:15 +01:00
committed by GitHub

View File

@@ -30,7 +30,7 @@
{{ end }}
<a class="{{ $articleClasses }}" {{ partial "article-link/_external-link.html" . | safeHTMLAttr }}>
<a class="{{ $articleClasses }}" {{ partial "article-link/_external-link.html" $target | safeHTMLAttr }}>
{{- with $target.Params.images -}}
{{- range first 6 . }}
<meta property="og:image" content="{{ . | absURL }}">