Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dillonzq/LoveIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2022-06-19 18:06:34 +0300
committerDillon <dillonzq@outlook.com>2022-06-19 18:06:52 +0300
commit96c582fac1e928ca79a069ae2c6c623a63fdaf0a (patch)
treecb94dcf52708acb5b173a1f13ef541b3bd9dab62
parentd02d3216daffa10ae57da943b935bdd1286db0d2 (diff)
fix: a tag rel attire space
-rw-r--r--layouts/partials/plugin/a.html2
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 -}}