-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (37 loc) · 1.27 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
---
layout: default
---
<div id="main">
<section>
{% for post in site.posts limit:1 %}
<header>
<h1>{{ post.title }}</h1>
<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 }}
<p class="editor-link"><a href="cloudcannon:collections/{{ post.path }}" class="button"><strong>✎</strong> Edit post</a></p>
</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>
<li class="editor-link"><a href="cloudcannon:collections/{{ post.path }}" class="button"><strong>✎</strong> Edit post</a></li>
</ul>
</footer>
</article>
{% endfor %}
</div>
</section>
</div>