yenu/resources/templates/detail.html

20 lines
475 B
HTML

{% extends "layout.html" %}
{% block content %}
{% if next-image %}
<a class="btn btn-primary" href="/show/{{ next-image.id }}">Weiter</a>
{% endif %}
{% if prev-image %}
<a class="btn btn-primary" href="/show/{{ prev-image.id }}">Zurück</a>
{% endif %}
<h1>{{ image.title }}</h1>
<img class="col-md-12" src="/images/normal/{{ image.hash }}.png" alt="{{ image.title }}"/>
{% if image.description|length > 0 %}
<p>{{ image.description }}</p>
{% endif %}
{% endblock %}