add: home page
This commit is contained in:
3
src/templates/album.css
Normal file
3
src/templates/album.css
Normal file
@ -0,0 +1,3 @@
|
||||
body {
|
||||
background-color: red;
|
||||
}
|
19
src/templates/album.jinja
Normal file
19
src/templates/album.jinja
Normal 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>
|
Reference in New Issue
Block a user