aboutsummaryrefslogtreecommitdiff
path: root/allium/templates/contact.html
diff options
context:
space:
mode:
Diffstat (limited to 'allium/templates/contact.html')
-rw-r--r--allium/templates/contact.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/allium/templates/contact.html b/allium/templates/contact.html
index ed10631..d060a2d 100644
--- a/allium/templates/contact.html
+++ b/allium/templates/contact.html
@@ -1,10 +1,9 @@
{% extends "relay-list.html" %}
+{% set contact_hash = relays.json['relay_subset'][0]['contact_md5'] %}
{% if relays.json['relay_subset'][0]['contact'] %}
{% set contact = relays.json['relay_subset'][0]['contact']|escape %}
- {% set contact_hash = relays.json['relay_subset'][0]['contact']|hash %}
{% else %}
{% set contact = 'none' %}
- {% set contact_hash = ''|hash %}
{% endif %}
{% block title %}Tor Relays :: Contact {{ contact_hash }}{% endblock %}
{% block header %}<a href="../../">Home</a> :: Contact {{ contact_hash }}{%