summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-05-15 22:39:37 +0800
committerReorx <novoreorx@gmail.com>2022-05-15 22:39:37 +0800
commite854a9d91e0a18da9874eeea1a119ea70929b97f (patch)
treee543252ba8f5b52d416dcefd012794ffd471013a /layouts/shortcodes
parent4921802f530f407e9f00ea17712e34bacf54ba74 (diff)
add link shortcode
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/link.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/link.html b/layouts/shortcodes/link.html
new file mode 100644
index 0000000..f37a489
--- /dev/null
+++ b/layouts/shortcodes/link.html
@@ -0,0 +1 @@
+<a href="{{ .Inner }}">{{ .Get "title" }}</a>