mirror of
https://gitee.com/butubb8/blowfish.git
synced 2025-12-05 14:17:50 +08:00
Merge pull request #2352 from servedsmart/fix-article-shortcode-link
🚑 Hotfix: Fix incorrect href in article shortcode
This commit is contained in:
@@ -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 }}">
|
||||
|
||||
Reference in New Issue
Block a user