add: gen html

This commit is contained in:
2025-04-14 17:04:47 +02:00
parent 637e2382b2
commit c68f393703
2 changed files with 61 additions and 14 deletions

View File

@ -1,20 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="../general/page.css">
<link rel="stylesheet" href="../page.css">
</head>
<body>
{% if readme %}
{{readme}}
<div class="readme">
<div class="readme-content">
{{readme}}
</div>
</div>
{% endif %}
{% for image in images %}
<img src="{{ image }}">
<div class="image-container">
<div class="image-container-element">
<img src='{{ image[0] }}'>
{% if image | length > 1 %}
<a class="export" href="{{ image[1] }}">export file</a>
{% endif %}
</div>
</div>
{% endfor %}
{% if exif %}
<a href="{{ exif }}">Exif</a>
{% endif %}
{% if raw %}
<a href="{{ raw }}">RAW</a>
{% if raw or exif %}
<div class="download">
<h1>Download</h1>
{% if raw %}
<a href="{{ raw }}">RAW</a>
{% endif %}
{% if exif %}
<a href="{{ exif }}">Exif</a>
{% endif %}
</div>
{% endif %}
</body>
</html>