summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>