diff options
Diffstat (limited to 'layouts/partials/plugin/a.html')
-rw-r--r-- | layouts/partials/plugin/a.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/plugin/a.html b/layouts/partials/plugin/a.html index ceaefc62..8dccaa70 100644 --- a/layouts/partials/plugin/a.html +++ b/layouts/partials/plugin/a.html @@ -1,5 +1,5 @@ {{- $rel := "" -}} -<a href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if (urls.Parse .Destination).Host | or .Newtab }}{{ $rel = "noopener noreffer" }} target="_blank"{{ end }} rel="{{ $rel }}{{ with .Rel }} {{ . }}{{ end }}"{{ with .Class }} class="{{ . }}"{{ end }}> +<a href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if (urls.Parse .Destination).Host | or .Newtab }}{{ $rel = "noopener noreffer " }} target="_blank"{{ end }} rel="{{ $rel }}{{ with .Rel }}{{ . }}{{ end }}"{{ with .Class }} class="{{ . }}"{{ end }}> {{- with .Icon -}} {{- partial "plugin/icon.html" . -}} {{- end -}} |