aboutsummaryrefslogtreecommitdiff
path: root/tor-metrics/templates/relay-info.html
diff options
context:
space:
mode:
Diffstat (limited to 'tor-metrics/templates/relay-info.html')
-rw-r--r--tor-metrics/templates/relay-info.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tor-metrics/templates/relay-info.html b/tor-metrics/templates/relay-info.html
index 2ed50d3..9b8eed1 100644
--- a/tor-metrics/templates/relay-info.html
+++ b/tor-metrics/templates/relay-info.html
@@ -17,9 +17,9 @@
<dt>Contact</dt>
{% if relay['contact'] %}
- <dd>{{ relay['contact']|escape }}</dd>
+ <dd><a href="{{ path_prefix }}contact/{{ relay['contact']|hash }}">{{ relay['contact']|escape }}</a></dd>
{% else %}
- <dd>none</dd>
+ <dd><a href="{{ path_prefix }}contact/{{ ''|hash }}">none</a></dd>
{% endif %}
<dt>Dir Address</dt>