aboutsummaryrefslogtreecommitdiff
path: root/assets/templates/index.html
blob: 61160a51ed73f2822191c63e2744c23d6852c3fc (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
27
28
29
30
31
32
33
{% extends "base.html" %}
{% block content %}
<div class="header-container">
	<h1>{{ title }}</h1>
</div>
<div class="gallery-container">
	<p>
	Jump to year: 
	{% for year in years %}
	<a href="#{{ year.name }}">{{ year.name }}</a>
	{% endfor %}
	</p>
	{% for year in years %}
	<h2 id="{{ year.name }}">{{ year.name }}</h2>
	{% for album in year.albums %}
	{% if album.title %}
	<a href="{{ album.link }}"><h3>{{ album.title }}</h3></a>
	{% else %}
	<a href="{{ album.link }}"><h3>Untitled</h3></a>
	{% endif %}
	<div class="album-container">
		{% for thumb in album.thumbs %}
			{% if loop.index < 4 %}
			<a href="{{ thumb.link }}">
				<img class="thumbnail" src="{{ thumb.source }}">
			</a>
			{% endif %}
		{% endfor %}
	</div>
	{% endfor %}
	{% endfor %}
</div>
{% endblock %}