forked from old-jekyll-templates/Strata-Jekyll-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (36 loc) · 1.24 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
---
layout: default
---
<!-- Main -->
<div id="main">
<section>
{% for post in site.posts limit:1 %}
<header class="major">
<h2>{{ post.title }}</h2>
<p class="post-meta">{{ post.date | date: "%b %-d, %Y" }}{% if post.author %} • {{ post.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
</header>
<section>
{{ post.content }}
</section>
{% endfor %}
</section>
<section>
<div class="row">
{% for post in site.posts offset:1 %}
<article class="{% cycle '6u', '6u$' %} 12u(small)">
<header>
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
</header>
<section>
{{ post.excerpt }}
</section>
<footer>
<ul class="actions">
<li><a href="{{ post.url }}" class="button">Read More</a></li>
</ul>
</footer>
</article>
{% endfor %}
</div>
</section>
</div>