diff --git a/layouts/partials/plugin/link.html b/layouts/partials/plugin/link.html index 6bc151ca..578b7cb6 100644 --- a/layouts/partials/plugin/link.html +++ b/layouts/partials/plugin/link.html @@ -31,7 +31,11 @@ {{- with .Content -}} {{- . | safeHTML -}} {{- end -}} - {{- if (.ExternalIcon | default false) | and $external | and (eq (hasPrefix .Content ``) | or (strings.HasSuffix .Content `):`)) false) + }} {{ if .Download }} {{ dict "Class" "fas fa-cloud-download-alt fa-fw fa-xs" | partial "plugin/icon.html" }} {{- else -}}