diff options
author | Hauke Stieler <mail@hauke-stieler.de> | 2019-03-18 02:25:08 +0300 |
---|---|---|
committer | Hauke Stieler <mail@hauke-stieler.de> | 2019-03-18 02:25:08 +0300 |
commit | 203891a0a0646fb02812c3d16dd96ba583fa473e (patch) | |
tree | 3a4371372c4cff6d393fa2a49148fd2b42bc2331 | |
parent | 934cbc7be28e0949a53db7f2d84a515a69633898 (diff) |
Directly create HTML in linkTag shortcode
-rw-r--r-- | layouts/shortcodes/linkTag.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/linkTag.html b/layouts/shortcodes/linkTag.html index e0aafb7..e32872c 100644 --- a/layouts/shortcodes/linkTag.html +++ b/layouts/shortcodes/linkTag.html @@ -1 +1 @@ -{{ strings.TrimSuffix "/" ( "" | absLangURL ) }}/tags/{{ index .Params 0 }} +<a href={{ strings.TrimSuffix "/" ( "" | absLangURL ) }}/tags/{{ index .Params 0 }}>{{ index .Params 1 }}</a> |