diff --git a/swh/web/templates/browse.html b/swh/web/templates/browse.html
index cd9017efb..c21af3f3d 100644
--- a/swh/web/templates/browse.html
+++ b/swh/web/templates/browse.html
@@ -1,152 +1,152 @@
{% extends "layout.html" %}
{% load swh_templatetags %}
{% block title %}{{ heading }} – Software Heritage archive {% endblock %}
{% block navbar-content %}
{% include "includes/origins-search.html" %}
{% include "includes/browse-help.html" %}
{% if empty_browse %}
Browse the Software Heritage archive
No Software Heritage object currently browsed.
To browse the content of the archive, you can either use
the Search interface or refer to the URI scheme described
in the Help page.
{% else %}
{% if top_panel_visible %}
{% if top_panel_collapsible %}
{% endif %}
{% for key, val in swh_object_metadata.items|dictsort:"0.lower" %}
{{ key }} |
{{ val | safe | urlize_links_and_mails | safe }}
|
{% endfor %}
{% if top_panel_collapsible %}
{% endif %}
{% endif %}
{% if main_panel_visible %}
{% block swh-browse-main-panel-content %}{% endblock %}
{% endif %}
{% block swh-browse-panels-group-end %}{% endblock %}
{% block swh-browse-after-panels %}{% endblock %}
{% endif %}
{% endblock %}
diff --git a/swh/web/templates/content.html b/swh/web/templates/content.html
index 48f9be72e..60fbf2fb4 100644
--- a/swh/web/templates/content.html
+++ b/swh/web/templates/content.html
@@ -1,133 +1,134 @@
{% extends "browse.html" %}
{% load static %}
{% block header %}
{% if "inode/x-empty" == mimetype %}
File is empty
{% elif "text/" in mimetype %}
{% elif "image/" in mimetype and content %}

{% else %}
Content with mime type {{ mimetype }} can not be displayed
{% endif %}
{% endblock %}