diff 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
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">