From 831746217402d8f68c978dc0bc95523b084aebdf Mon Sep 17 00:00:00 2001 From: pgarcia Date: Wed, 13 Aug 2025 13:48:29 +0200 Subject: [PATCH] Delete shortcodes/email.tmpl~ --- shortcodes/email.tmpl~ | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 shortcodes/email.tmpl~ diff --git a/shortcodes/email.tmpl~ b/shortcodes/email.tmpl~ deleted file mode 100644 index 0d25800..0000000 --- a/shortcodes/email.tmpl~ +++ /dev/null @@ -1,25 +0,0 @@ -<%doc> -Return URL from email and some social networks. - -Template engine: Mako - -Usage: - - {{% url %}} - -where is one of 'email', 'xmpp', 'mastodon' or 'peertube', corresponding to GLOBAL_CONTEXT variable of EMAIL_URL, XMPP_URL, MASTODON_URL and PEERTUBE_URL respectively - - Example: {{% url 'mastodon' }} will show the content of MASTODON_URL defined in GLOBAL_CONTEXT of config.py - - -% if _args[0] == 'email': - ${EMAIL_URL} -% elif _args[0] == 'xmpp': - ${XMPP_URL} -% elif _args[0] == 'mastodon': - ${MASTODON_URL} -% elif _args[0] == 'peertube': - ${PEERTUBE_URL} -% else: - Unknown -% endif