aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--allium/templates/as.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/allium/templates/as.html b/allium/templates/as.html
index 1e9a467..2989477 100644
--- a/allium/templates/as.html
+++ b/allium/templates/as.html
@@ -1,11 +1,10 @@
{% extends "relay-list.html" %}
{% 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 }}
-{% if as_name %}({{ as_name }}) {% endif %}
-is responsible for ~{{ bandwidth }} MB/s of traffic, with
+{% block title %}Tor Relays :: {{ as_name }} ({{ as_number }}){% endblock %}
+{% block header %}<a href="../../">Home</a> :: {{ as_name }} ({{ as_number }}){% endblock %}
+{% block description %}{{ as_number }} is responsible for ~{{ bandwidth }} MB/s
+of traffic, with
{% if middle_count > 0 %}
{{ middle_count }} middle relay
{%- if middle_count > 1 -%}s{% endif %}