aboutsummaryrefslogtreecommitdiff
path: root/assets/templates/album.html
blob: 856cf63c77f76431da64f4e1a3287722678672b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% 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">
	{% if album.desc %}
	<p>{{ album.desc }}</p>
	{% endif %}
	<div class="album-container">
		{% for thumb in album.thumbs %}
		<a href="{{ thumb.link }}">
			<img class="thumbnail" src="{{ thumb.source }}">
		</a>
		{% endfor %}
	</div>
</div>
{% endblock %}