diff --git a/sdbs_pile/pile/templates/front_doc_detail.html b/sdbs_pile/pile/templates/front_doc_detail.html
index f0e7d22..594dd79 100644
--- a/sdbs_pile/pile/templates/front_doc_detail.html
+++ b/sdbs_pile/pile/templates/front_doc_detail.html
@@ -47,6 +47,30 @@
+
+
+ {% if document.urls.count > 0 %}
+ Also see:
+ {% for link in document.urls.all %}
+
+ {% endfor %}
+ {% endif %}
+ {% else %}
+
+
+
+
{% if document.urls.count > 1 %}
Also see:
{% for link in document.urls.all|slice:"1:" %}
@@ -55,36 +79,21 @@
{% endfor %}
{% endif %}
-
-
- {% else %}
-
-
- {% if document.urls.count > 1 %}
- Also at:
- {% for link in document.urls.all|slice:"1:" %}
-
- {% endfor %}
- {% endif %}
-
-
{% endif %}
{% else %}
+
+ {% if document.urls.count > 0 %}
+ Related URLs:
+ {% for link in document.urls.all %}
+
+ {% endfor %}
+ {% endif %}
{% endif %}
{% if document.related.exists %}