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.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/link.html b/layouts/shortcodes/link.html
index e347adc..b6993ec 100644
--- a/layouts/shortcodes/link.html
+++ b/layouts/shortcodes/link.html
@@ -1 +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 "src" | absURL }}" {{- with .Get "title" }} title="{{.}}"{{ end }} {{- with .Get "class" }} class="{{.}}"{{ end }} {{- with .Get "target" }} target="{{.}}"{{ end }} {{- with .Get "rel" }} rel="{{.}}"{{ end }}>{{ .Inner }}</a>