-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (36 loc) · 1.1 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
---
layout: home
type: page
---
<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">
<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>