aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_macros.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates/entity_macros.html')
-rw-r--r--python/fatcat_web/templates/entity_macros.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html
index 13e2d305..3e83b9d4 100644
--- a/python/fatcat_web/templates/entity_macros.html
+++ b/python/fatcat_web/templates/entity_macros.html
@@ -72,7 +72,7 @@
{% for url in urls %}
<tr><td class="two wide right aligned">{{ url.rel }}
<td class="eight wide"><small><code><a href="{{ url.url }}">
- {% if url.url.count('/') >= 3 %}
+ {% if url.url.count('/') >= 3 and url.rel != "dweb" %}
{{ '/'.join(url.url.split('/')[0:2]) }}/<b>{{ ''.join(url.url.split('/')[2]) }}</b>/{{ '/'.join(url.url.split('/')[3:]) }}
{% else %}
{{ url.url }}