gallery.html 628 字节
Newer Older
C
chomik 已提交
1 2
---
title: Gallery
C
codecalm 已提交
3 4 5
page-header: Gallery
page-header-description: 1-12 of 241 photos
page-header-actions: photos
C
chomik 已提交
6
done: true
C
codecalm 已提交
7
menu: extra.gallery
C
chomik 已提交
8 9 10 11 12 13 14 15
---
{% assign horizontal = 0 %}

<div class="row">
	{% for photo in site.data.photos %}
	{% if photo.horizontal %}
	{% assign person = site.data.people[forloop.index0] %}
	<div class="col-sm-6 col-lg-4">
16
		{% include cards/gallery-photo.html person=person %}
C
chomik 已提交
17 18 19 20 21 22 23 24 25
	</div>
	{% assign horizontal = horizontal | plus: 1 %}
	{% endif %}

	{% if horizontal == 12 %}
		{% break %}
	{% endif %}
	{% endfor %}
</div>
C
codecalm 已提交
26 27

<div class="d-flex">
28
   {% include ui/pagination.html class="ml-auto" %}
C
codecalm 已提交
29
</div>