add: home page

This commit is contained in:
2025-04-15 18:06:05 +02:00
parent d911dfe1cf
commit 97f05cee5e
8 changed files with 116 additions and 12 deletions

3
src/templates/album.css Normal file
View File

@ -0,0 +1,3 @@
body {
background-color: red;
}

19
src/templates/album.jinja Normal file
View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="album.css">
</head>
<body>
{{album.name}}
caaaa
<h1>{{ album._name }}</h1>
<div class="picture_container">
{% for picture in album._pictures %}
<img src="{{ picture.get_small().get_absolute_path() }}">
{% endfor %}
</div>
</body>
</html>