Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hauke96/hugo-theme-hamburg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Stieler <mail@hauke-stieler.de>2019-03-18 02:25:08 +0300
committerHauke Stieler <mail@hauke-stieler.de>2019-03-18 02:25:08 +0300
commit203891a0a0646fb02812c3d16dd96ba583fa473e (patch)
tree3a4371372c4cff6d393fa2a49148fd2b42bc2331
parent934cbc7be28e0949a53db7f2d84a515a69633898 (diff)
Directly create HTML in linkTag shortcode
-rw-r--r--layouts/shortcodes/linkTag.html2
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>