comparison default/base/base.html @ 125:04609722add0

base: add a XMPP uri <link> if xmpp_uri is set
author Goffi <goffi@goffi.org>
date Wed, 21 Mar 2018 19:07:52 +0100
parents 490114e3d9e2
children
comparison
equal deleted inserted replaced
124:11e729a7d8e9 125:04609722add0
19 </style> 19 </style>
20 {% else %} 20 {% else %}
21 {% for css_file in css_files %} 21 {% for css_file in css_files %}
22 <link rel='stylesheet' type="text/css" href='{{root_path}}{{css_file}}'> 22 <link rel='stylesheet' type="text/css" href='{{root_path}}{{css_file}}'>
23 {% endfor %} 23 {% endfor %}
24 {% endif %}
25
26 {% if xmpp_uri is defined %}
27 <link rel="alternate" type="application/atom+xml" href="{{xmpp_uri}}" >
24 {% endif %} 28 {% endif %}
25 29
26 {% if dynamic_style is defined %} 30 {% if dynamic_style is defined %}
27 {# be extra careful about dynamic style, insure escaping if you use untrusted values ! #} 31 {# be extra careful about dynamic style, insure escaping if you use untrusted values ! #}
28 <style type="text/css"> 32 <style type="text/css">