This repository has been archived by the owner on Jan 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
index.html
57 lines (53 loc) · 1.94 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
layout: default
title: home
sidebar: true
---
<div class="row">
<div>
{% if page.sidebar == "true" %}
<article class="columns small-12 large-9 comic-page">
{% else %}
<article class="columns small-12 large-offset-1 large-10 comic-page">
{% endif %}
<nav class="comic-nav">
<nav class="previous-comic">
{% for post in site.posts limit:1 offset:1 %}
<a href="{{ site.baseurl }}{{ post.url }}" class="icon-arrow-left hide-for-small">Previous</a>
<a href="{{ site.baseurl }}{{ post.url }}" class="icon-arrow-left hide-for-large"></a>
{% endfor %}
</nav>
<nav class="first-comic">
<a href="{{ site.baseurl }}{{ site.posts.last.url }}">First</a>
</nav>
<nav class="comic-next">
{% for post in site.posts limit:1 offset:1 %}
<a href="{{ site.baseurl }}/{{ post.categories }}/" class="hide-for-small">Archive<span class="icon-arrow-down"></span></a>
<a href="{{ site.baseurl }}/{{ post.categories }}/" class="hide-for-large"><span class="icon-arrow-down"></span></a>
{% endfor %}
</nav>
</nav>
{% for post in site.posts limit:1 %}
{{ post.content }}
{% endfor %}
<nav class="comic-nav">
<nav class="previous-comic">
{% for post in site.posts limit:1 offset:1 %}
<a href="{{ site.baseurl }}{{ post.url }}" class="icon-arrow-left hide-for-small">Previous</a>
<a href="{{ site.baseurl }}{{ post.url }}" class="icon-arrow-left hide-for-large"></a>
{% endfor %}
</nav>
<nav class="first-comic">
<a href="{{ site.baseurl }}{{ site.posts.last.url }}">First</a>
</nav>
<nav class="comic-next">
<a href="{{ site.baseurl }}/{{ post.categories }}/" class="hide-for-small">Archive<span class="icon-arrow-down"></span></a>
<a href="{{ site.baseurl }}/{{ post.categories }}/" class="hide-for-large"><span class="icon-arrow-down"></span></a>
</nav>
</nav>
</article>
</div>
{% if page.sidebar == "true" %}
{% include asides/recent_posts.html %}
{% endif %}
</div>