forked from old-jekyll-templates/Twenty-Jekyll-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
24 lines (23 loc) · 818 Bytes
/
blog.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
---
layout: default
---
<article id="main">
<header class="special container">
<span class="icon fa-mobile"></span>
<h2>My <strong>Blog</strong></h2>
</header>
<section class="wrapper style4 container">
<ul class="posts">
{% for post in site.posts %}
<li class="wrapper {% if forloop.first %} style2 {% else %} style1 {% endif %}">
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
{{ post.excerpt }}
<section class="special">
<ul class="buttons">
<li><a href="{{ site.baseurl }}{{ post.url }}" class="button">Read more</a></li>
</ul></section>
</li>
{% endfor %}
</ul>
</section>
</article>