summaryrefslogtreecommitdiffstatshomepage
path: root/templates/shortcodes/ref.html
diff options
context:
space:
mode:
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>