diff options
Diffstat (limited to 'layouts/shortcodes/link.html')
| -rw-r--r-- | layouts/shortcodes/link.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/shortcodes/link.html b/layouts/shortcodes/link.html new file mode 100644 index 0000000..362ce94 --- /dev/null +++ b/layouts/shortcodes/link.html @@ -0,0 +1,3 @@ +<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> |
