-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·40 lines (34 loc) · 1.03 KB
/
index.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
34
35
36
37
38
39
40
---
layout: default
gallery: selected
title: selected
---
<div class='container'>
<!-- SELECTED -->
<div class='row gallery' style='margin-bottom:40px;'>
<div class='col-xs-12'>
<h1>Selected</h1>
</div>
{% for image in site.static_files %}
{% if image.path contains page.title %}
{% assign new_var = gallery.title | append: '/' | append: category.name %}
{% if image.path contains new_var %}
<a class='col-xs-12 col-sm-3 img' href='{{ site.baseurl }}{{ image.path }}'>
{% assign name = image.name | remove: image.extname %}
<img class='img-responsive img-thumb' src='{{ site.baseurl }}{{ image.path }}' alt='{{ name }}' title='{{ name }} - edward essing'>
</a>
{% endif %}
{% endif %}
{% endfor %}
<!-- {% include gallery.html %} -->
{% assign galleries = site.galleries | sort: 'title' | reverse %}
{% for gallery in galleries limit:1 %}
<div class='col-xs-12'>
<a href='/galleries/{{ gallery.title }}'>
<hr>
<h2>View more</h2>
</a>
</div>
{% endfor %}
</div>
</div>