summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/entity_macros.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html
index 45f00362..9207bd48 100644
--- a/python/fatcat_web/templates/entity_macros.html
+++ b/python/fatcat_web/templates/entity_macros.html
@@ -48,8 +48,8 @@
/{{ entity_type }}/{{ entity.ident }}
{%- elif entity.revision -%}
/{{ entity_type }}/rev/{{ entity.revision }}
- {% endif %}
- {% if expand %}?expand={{ expand}}{% endif %}">
+ {%- endif -%}
+ {%- if expand -%}?expand={{ expand}}{%- endif %}">
JSON
</a>
</div>