diff options
Diffstat (limited to 'assets/templates/album.html')
-rw-r--r-- | assets/templates/album.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/assets/templates/album.html b/assets/templates/album.html new file mode 100644 index 0000000..95d9935 --- /dev/null +++ b/assets/templates/album.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} +{% block content %} +<div class="header-container"> + <h1> + <a href="{{ index }}/#{{ album.year }}">{{ album.year }}</a> + {% if album.title %} + {{ album.title }} + {% else %} + Untitled + {% endif %} + </h1> + <p>from <a href="{{ index }}/">{{ title }}</a> </p> +</div> +<div class="gallery-container"> + <p>{{ album.desc }}</p> + <div class="album-container"> + {% for thumb in album.thumbs %} + <a href="{{ thumb.link }}"> + <img class="thumbnail" src="{{ thumb.source }}"> + </a> + {% endfor %} + </div> +</div> +{% endblock %} |