summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/link.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/link.html')
-rw-r--r--layouts/shortcodes/link.html14
1 files changed, 6 insertions, 8 deletions
diff --git a/layouts/shortcodes/link.html b/layouts/shortcodes/link.html
index ff84a6c..c42400b 100644
--- a/layouts/shortcodes/link.html
+++ b/layouts/shortcodes/link.html
@@ -1,10 +1,8 @@
-<!-- editorconfig-checker-disable -->
<a href="{{ .Get "src" | absURL }}"
- {{- with .Get "hreflang" }} hreflang="{{ . }}"{{ end }}
- {{- with .Get "title" }} title="{{ . }}"{{ end }}
- {{- with .Get "class" }} class="{{ . }}"{{ end }}
- {{- with .Get "target" }} target="{{ . }}"{{ end }}
- {{- with .Get "rel" }} rel="{{ . }}"{{ end }}>
- {{- .Inner -}}
+ {{- with .Get "hreflang" }} hreflang="{{ . }}"{{ end }}
+ {{- with .Get "title" }} title="{{ . }}"{{ end }}
+ {{- with .Get "class" }} class="{{ . }}"{{ end }}
+ {{- with .Get "target" }} target="{{ . }}"{{ end }}
+ {{- with .Get "rel" }} rel="{{ . }}"{{ end }}>
+ {{- .Inner -}}
</a>
-<!-- editorconfig-checker-enable -->