zyllian.github.io/site/templates/image/resource.tera

16 lines
571 B
Text

{% extends "base.tera" %}
{% block content %}
<div class="image-full">
<h1 class="title">{{ data.title }}</h1>
<span class="timestamp">published {{ data.readable_timestamp }}</span>
<img class="image-actual" src="{{data.cdn_file}}" alt="{{data.alt}}">
{{ data.content | safe }}
<p><a href="{{data.cdn_file}}">view full size image</a></p>
<h3 class="tags-title">tags</h3>
<div class="image-tags">
{% for tag in data.tags %}
<a class="tag" href="/i/tag/{{tag}}/">{{tag}}</a>{% if not loop.last %},{% endif %}
{% endfor %}
</div>
</div>
{% endblock content %}