aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--allium/templates/as.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/allium/templates/as.html b/allium/templates/as.html
index 3b62b1e..528c865 100644
--- a/allium/templates/as.html
+++ b/allium/templates/as.html
@@ -2,9 +2,10 @@
{% set as_number = relays.json['relay_subset'][0]['as']|escape %}
{% set as_name = relays.json['relay_subset'][0]['as_name']|escape %}
{% block title %}Tor Relays :: {{ as_number }}{% endblock %}
-{% block header %}<a href="../../">Home</a> :: {{ as_number }}{% endblock %}
-{% block description %}{{ as_number }} ({{ as_name }}) is responsible for ~{{
-bandwidth }} MB/s of traffic, with {% if middle_count > 0 %}{{ middle_count }}
-middle relay{% if middle_count > 1 %}s{% endif %}{% if exit_count > 0 %} and {%
-endif %}{% endif %}{% if exit_count > 0 %}{{ exit_count }} exit relay{% if
-exit_count > 1 %}s{% endif %}{% endif %}.{% endblock %}
+{% block header %}<a href="../../">Home</a> :: {{ as_number }}{% endblock %} {%
+block description %}{{ as_number }} {% if as_name %}({{ as_name }}){% endif %}
+is responsible for ~{{ bandwidth }} MB/s of traffic, with {% if middle_count
+> 0 %}{{ middle_count }} middle relay{% if middle_count > 1 %}s{% endif %}{% if
+exit_count > 0 %} and {% endif %}{% endif %}{% if exit_count > 0 %}{{
+exit_count }} exit relay{% if exit_count > 1 %}s{% endif %}{% endif %}.{%
+endblock %}