summaryrefslogtreecommitdiffstatshomepage
path: root/templates/shortcodes/ref.html
diff options
context:
space:
mode:
authorWolfgang Müller2021-06-12 14:21:59 +0200
committerWolfgang Müller2021-06-12 14:21:59 +0200
commitad2be2b20c337d99ebe6e7d4b8cf6106cfba77df (patch)
tree65c0ddbb7828fd5b174eb531739097f83a3f17ee /templates/shortcodes/ref.html
downloadzunzuncito-ad2be2b20c337d99ebe6e7d4b8cf6106cfba77df.tar.gz
Initial commit
Diffstat (limited to '')
-rw-r--r--templates/shortcodes/ref.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/shortcodes/ref.html b/templates/shortcodes/ref.html
new file mode 100644
index 0000000..6708552
--- /dev/null
+++ b/templates/shortcodes/ref.html
@@ -0,0 +1 @@
+<a href="/{{ id }}">{{ text | default(value="№ " ~ id) }}</a>