-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathindex.html
41 lines (41 loc) · 1.14 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: page
slug: home
---
<ol id="article-{{ page.slug }}_preview">{% for screenshot in site.screenshots %}{% if screenshot.slide %}
<li data-state="inert">
<a href="{{ screenshot.url | relative_url }}" title="{{ screenshot.title }}">
<figure id="article-{{ page.slug }}_preview_{{ screenshot.slug }}" data-action="state.shift.up" data-state="none">
<header>
<hgroup>
<h1>{{ screenshot.title }}</h1>
</hgroup>
</header>
<div class="wrapper">
<main>
<img src="{{ screenshot.src | relative_url }}" alt="{{ screenshot.alt }}"/>
</main>
</div>
</figure>
</a>
</li>{% endif %}
{% endfor %}
</ol>
{% for post in site.posts limit:5 %}
{% if post.promoted %}
<article id="article-{{ post.slug }}" class="post">
<header>
<hgroup>
<h1><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h1>
</hgroup>
</header>
<div class="wrapper">
<main>
{{ post.excerpt }}
<a href="{{ post.url | relative_url }}">Read more...</a>
</main>
<footer>{% if post.meta %}<p class="meta">{{ post.meta }}</p>{% endif %}</footer>
</div>
</article>
{% endif %}
{% endfor %}