Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (38 loc) · 1.58 KB
/
Copy pathindex.html
File metadata and controls
39 lines (38 loc) · 1.58 KB
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
---
layout: default
title: "Sakura Jekyll (modified)"
---
{% assign post = site.posts.first %}
<article id="post">
<header>
<h1>{{ post.title }}</h1>
</header>
{{ post.content }}
<footer>
{% if post.categories.size > 0 %}
<nav>
<small><em>category: {% for category in post.categories %}{% assign slugified_category = category | slugify %}<a href="{{ site.baseurl}}/category/{{ slugified_category }}">{{ slugified_category }}</a>{% if forloop.last %}{% else %}, {% endif %}{% endfor %}</em></small>
</nav>
{% endif %}
{% if page.tags.size > 0 %}
<nav>
<small><em>tag: {% for tag in post.tags %}{% assign slugified_tag = tag | slugify %}<a href="{{ site.baseurl}}/tag/{{ slugified_tag }}">#{{ slugified_tag }}</a>{% if forloop.last %}{% else %}, {% endif %}
{% endfor %}</em></small>
</nav>
{% endif %}
<address>
<small><em>Posted by {{ post.author }}{% if site.license %}, {{site.license}}{% endif %}</em></small>
</address>
<time datetime="{{ post.date | date_to_xmlschema }}"> <small><em>{{ post.date | date: site.date_format }}</em></small></time>
</footer>
</article>
<aside>
<nav class="chrono">
{% for p in site.posts offset:1 limit:1 %}
{% if p %}
<a class="go-right sakura-fade no-border" href="{{site.baseurl}}{{p.url}}">{{p.title}} »</a>
{% endif %}
{% endfor %}
</nav>
<div style="clear: both;"></div>
</aside>