changeset 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 11e729a7d8e9
children 14a4c6bb4443
files default/base/base.html
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/default/base/base.html	Sun Mar 18 11:31:36 2018 +0100
+++ b/default/base/base.html	Wed Mar 21 19:07:52 2018 +0100
@@ -23,6 +23,10 @@
         {% endfor %}
     {% endif %}
 
+    {% if xmpp_uri is defined %}
+        <link rel="alternate" type="application/atom+xml" href="{{xmpp_uri}}" >
+    {% endif %}
+
     {% if dynamic_style is defined %}
     {# be extra careful about dynamic style, insure escaping if you use untrusted values ! #}
         <style type="text/css">