-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
98 lines (88 loc) · 2.87 KB
/
test.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
---
layout: default
type: page
---
{% include banner.html
banner_id = 'taiwan'
banner_type = 'index'
banner_title = '#luraefanchoudomfu'
banner_subtitle = 'Kaohsiung! Kenting!'
banner_image = 'http://im.vsco.co/1/51f48bb095e8247120/56c9e77a40955b61337b8a75/vsco_022216.jpg' %}
<section class="page-content">
<div class="wrapper">
<div class="home">
<header>
<div class="heading-img">
<img src="/img/icons/flight-ticket.svg" alt="icon">
</div>
<h1 class="page-heading">Travelogue</h1>
</header>
<section id="trip-grid-japan">
<ul class="post-list post-grid" data-component="['grid-masonry']">
<li class="post-grid-sizer"></li>
{% for post in site.posts %}
{% if post.categories contains 'japan' %}
{% if post.thumbnail %}
<li class="post-item" style="background-image: url({{post.thumbnail}});">
{% else %}
<li class="post-item no-bg">
{% endif %}
<div class="post-fill"></div>
<a class="post-link post-wrap" href="{{ post.url | prepend: site.baseurl }}">
<div class="text-wrap">
<h4>
{{ post.title }}
</h4>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
</div>
</a>
</li>
{% endif %}
{% endfor %}
</ul>
</section>
</div>
</div>
</section>
{% include banner.html
banner_id = 'indonesia'
banner_type = 'index'
banner_title = site.banner_title
banner_subtitle = site.banner_subtitle
banner_image = site.banner_image %}
<section class="page-content">
<div class="wrapper">
<div class="home">
<header>
<div class="heading-img">
<img src="/img/icons/flight-ticket.svg" alt="icon">
</div>
<h1 class="page-heading">Travelogue</h1>
</header>
<section id="trip-grid-indo">
<ul class="post-list post-grid" data-component="['grid-masonry']">
<li class="post-grid-sizer"></li>
{% for post in site.posts %}
{% if post.categories contains site.current_category %}
{% if post.thumbnail %}
<li class="post-item" style="background-image: url({{post.thumbnail}});">
{% else %}
<li class="post-item no-bg">
{% endif %}
<div class="post-fill"></div>
<a class="post-link post-wrap" href="{{ post.url | prepend: site.baseurl }}">
<div class="text-wrap">
<h4>
{{ post.title }}
</h4>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
</div>
</a>
</li>
{% endif %}
{% endfor %}
</ul>
</section>
</div>
</div>
</section>