forked from wild-flame/jekyll-simple
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (54 loc) · 1.75 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
layout: default
title: Home
---
<div class="home">
<div class="post-list">
{% for post in site.posts limit:5%}
<article class="post_card post">
<header class="post_header">
<h2 class="post_title"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title}}</a></h2>
<time class="post_date">{{ post.date | date: "%d %B %Y, %A" }}</time>
</header>
<div class="post_excerpt">
<p>
{% if post.description %}
{{ post.description}}
{% else %}
{{ post.excerpt }}
{% endif %}
<a class="read-more" href="{{ post.url | prepend: site.baseurl }}"> » </a>
</p>
</div>
<footer class="post_meta">
{% if post.location %}
<span class="author-location">
<div data-icon="ei-location"></div>
<a href=https://www.google.com/maps/place/{{post.location}}">{{ post.location }}</a>
</span>
{% endif %}
<!--
{% for category in post.categories %}
<a href="{{"/category/" | append: category | prepend: site.baseurl }}">
<data data-icon="ei-archive"></data>
{{category}}</a>
{% endfor %}
-->
<!--
{% if post.author %}
<span class="author_meta">
<img src="{{site.baseurl}}/assets/img/{{post.author}}.jpg"></img>
<span>David Lin</span>
</span>
{% endif %}
-->
<!--p class="readmore">
<a href=""><data data-icon="ei-arrow-right"></data>Read this article </a>
</p-->
</footer>
<hr/>
</article>
{% endfor %}
<div class="pagination older-post"><a href="./archive"><data data-icon="ei-arrow-right"></data> Archive </a></div>
</div>
</div>