-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathgraphic-recordings.html
More file actions
25 lines (23 loc) · 845 Bytes
/
graphic-recordings.html
File metadata and controls
25 lines (23 loc) · 845 Bytes
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
---
layout: default
title: "Graphic Recordings"
---
<h1>{{ page.title }}</h1>
{% assign count = 0 %}
{% assign align = "left" %}
{% for gallery in site.data.galleries.posters %}
{% if count == 0 %}<div class="row">{% endif %}
<div class="half-width gallery-preview {{ align }}">
<h1>{{ gallery.title }}</h1>
<a href="{{ site.url }}{{ site.baseurl }}/graphic-recordings/{{ gallery.year }}.html">
<img alt="{{ gallery.title }}" src="{{ site.url }}{{ site.baseurl }}/images/{% if gallery.picture_path %}{{ gallery.picture_path }}{% else %}posters_{{ gallery.year }}{% endif %}/{{ gallery.preview.thumbnail }}" />
</a>
</div>
{% if count == 1 %}</div>{% endif %}
{% assign count = count | plus: 1 %}
{% assign align = "right" %}
{% if count >= 2 %}
{% assign align = "left" %}
{% assign count = 0 %}
{% endif %}
{% endfor %}