forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
28 lines (27 loc) · 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
---
layout: default
---
<div class="indexheader teal lighten-5 z-depth-3"><h1>Recent Posts</h1></div>
{% for post in site.posts %}
<!--div class="postcard blue lighten-5 z-depth-3"-->
<div class="card horizontal small hoverable z-depth-1 clickable">
<div class="card-image">
<img src="{{ post.image }}">
</div>
<div class="card-stacked">
<div class="card-content">
<span class="card-title">{{ post.title }}</span>
<span class="postexcerpt hide-on-small-only">{{ post.excerpt | strip_html }}</span>
<span class="postexcerpt show-on-small">{{ post.summary | strip_html }}</span>
</div>
<div class="card-action">
<a href="{{ site.baseurl }}{{ post.url }}">read post</a>
{% for tag in post.tags %}
{% capture tag_name %}{{ tag }}{% endcapture %}
<a href="/tag/{{ tag_name }}">#{{ tag_name }}</a>
{% endfor %}
</div>
</div>
</div>
<!--/div-->
{% endfor %}