diff --git a/ennstatus/templates/base.html b/ennstatus/templates/base.html --- a/ennstatus/templates/base.html +++ b/ennstatus/templates/base.html @@ -35,6 +35,8 @@
  • {% if '.onion' in request.url_root %} News + {% elif '.bit' in request.url_root %} + News {% else %} News {% endif %} @@ -75,6 +77,8 @@
  • {% if '.onion' in request.url_root %} Wiki + {% elif '.bit' in request.url_root %} + Wiki {% else %} Wiki {% endif %} diff --git a/ennstatus/templates/status/macros.html b/ennstatus/templates/status/macros.html --- a/ennstatus/templates/status/macros.html +++ b/ennstatus/templates/status/macros.html @@ -31,6 +31,8 @@ {% endif %} {% if '.onion' in request.url_root %} {% set url_root = '//%s' % config['ENNSTATUS_GLOBE_ONION_ADDRESS'] %} + {% elif '.bit' in request.url_root %} + {% set url_root = '//%s' % config['ENNSTATUS_GLOBE_BIT_ADDRESS'] %} {% else %} {% set url_root = '//globe.enn.lu' %} {% endif %}