summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-15 17:12:28 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-15 17:12:28 +0200
commitdb5d361b777e3669b1169dc8f7f68c89b43e0bd3 (patch)
tree2b25cfa1fae2e296369181a1d82d6351e6cd3c64 /layouts/shortcodes
parent19c9544e1db6512fbf2dab975f7ec96983854875 (diff)
downloadgohugo-theme-ed-db5d361b777e3669b1169dc8f7f68c89b43e0bd3.tar.gz
Update config format
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/link.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/shortcodes/link.html b/layouts/shortcodes/link.html
index 362ce94..e347adc 100644
--- a/layouts/shortcodes/link.html
+++ b/layouts/shortcodes/link.html
@@ -1,3 +1 @@
-<a href="{{ .Get 0 | absURL }}" {{- with .Get "title" }} title="{{.}}"{{ end }} {{- with .Get "class" }} class="{{.}}"{{ end }} {{- with .Get "target" }} target="{{.}}"{{ end }} {{- with .Get "rel" }} rel="{{.}}"{{ end }}>
- {{ .Inner }}
-</a>
+<a href="{{ .Get 0 | absURL }}" {{- with .Get "title" }} title="{{.}}"{{ end }} {{- with .Get "class" }} class="{{.}}"{{ end }} {{- with .Get "target" }} target="{{.}}"{{ end }} {{- with .Get "rel" }} rel="{{.}}"{{ end }}>{{ .Inner }}</a>