aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-02-24 16:04:27 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-02-24 16:04:27 -0800
commit3a3ed1e3b3c148b6da1041837eb09bf905cf7c1f (patch)
tree09bc581c4ba49e49006af31656f221eb02b26d04
parent8f7345e510af14fbb156ce7dfb05c6b82a711b8b (diff)
downloadfatcat-3a3ed1e3b3c148b6da1041837eb09bf905cf7c1f.tar.gz
fatcat-3a3ed1e3b3c148b6da1041837eb09bf905cf7c1f.zip
entity metadata template: show 'extra' at the bottom
-rw-r--r--python/fatcat_web/templates/entity_view_metadata.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_web/templates/entity_view_metadata.html b/python/fatcat_web/templates/entity_view_metadata.html
index 5ce97d10..7ccdc5bb 100644
--- a/python/fatcat_web/templates/entity_view_metadata.html
+++ b/python/fatcat_web/templates/entity_view_metadata.html
@@ -4,13 +4,13 @@
{% block entity_main %}
+<h3>Entity Metadata (schema)</h3>
+{{ entity_macros.extra_metadata(entity._metadata) }}
+
{% if entity.extra %}
<h3>Extra Metadata (raw JSON)</h3>
{{ entity_macros.extra_metadata(entity.extra) }}
{% endif %}
-<h3>Entity Metadata (schema)</h3>
-{{ entity_macros.extra_metadata(entity._metadata) }}
-
{% endblock %}