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