Delete shortcodes/url.tmpl~
parent
d9ccd87696
commit
08159b753e
|
@ -1,21 +0,0 @@
|
|||
<%doc>
|
||||
Template engine: Mako
|
||||
|
||||
Usage:
|
||||
|
||||
{{% url <site> %}}
|
||||
|
||||
where <site> is one of 'xmpp', 'mastodon' or 'peertube'
|
||||
|
||||
Example: {{% url 'mastodon' }} will show the content of MASTODON_URL defined in GLOBAL_CONTEXT of config.py
|
||||
</%doc>
|
||||
|
||||
% if _args[0] == 'xmpp':
|
||||
${XMPP_URL}
|
||||
% elif _args[0] == 'mastodon':
|
||||
${MASTODON_URL}
|
||||
% elif _args[0] == 'peertube':
|
||||
${PEERTUBE_URL}
|
||||
% else:
|
||||
Unknown
|
||||
% endif
|
Loading…
Reference in New Issue