-
Notifications
You must be signed in to change notification settings - Fork 0
/
threesixtyfive.html
33 lines (31 loc) · 1020 Bytes
/
threesixtyfive.html
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
---
order: 2
title: 365 Project
layout: page
---
<div style="text-align: center">
<p>As a New Year's resolution, I decided to document my experiences in the year 2018 by taking one picture a day.</p>
</div>
<div class="tz-gallery">
<div class="row">
{% assign image_files = site.static_files | where: "threesixtyfive", true %}
{% for image in image_files reversed %}
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<a class="lightbox" href="{{ image.path }}">
<img width="100%" src="{{ image.path }}" alt="Day {{ forloop.index }}">
</a>
<div class="caption">
{% assign image_desc = site.data.threesixtyfive[forloop.index0] %}
<h3>{{ image_desc.title }}</h3>
<p>{{ image_desc.description }}</p>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.8.1/baguetteBox.min.js"></script>
<script>
baguetteBox.run('.tz-gallery');
</script>