Page MenuHomeSoftware Heritage

content.html
No OneTemporary

content.html

{% extends "layout.html" %}
{% block title %}Content display{% endblock %}
{% block content %}
<div class="well well-sm">
<b>Content mime type:</b> {{ mime_type }} , <b>Hashing algorithm:</b> {{ content_hash_algo}} , <b>Content checksum:</b> {{ content_checksum }}
<a href="{{ content_raw_url }}" class="btn btn-link btn-xs navbar-right" role="button">Raw File</a>
</div>
{% include "content-directory-top-navigation.html" %}
<div class="well well-sm">
{% if "inode/x-empty" == mime_type %}
<i>File is empty</i>
{% elif "text/" in mime_type %}
<div class="highlightjs">
<pre>
<code class="{{ language }}">{{ content }}</code>
</pre>
</div>
{% elif "image/" in mime_type and content %}
<img src="data:{{ mime_type }};base64,{{ content }}"/>
{% else %}
Content with mime type {{ mime_type }} can not be displayed
{% endif %}
</div>
{% endblock %}

File Metadata

Mime Type
text/html
Expires
Fri, Jul 4, 1:39 PM (4 d, 39 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3363803

Event Timeline