-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (41 loc) · 1.57 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
---
layout: default
title: Home
---
<div id="post">
{% for post in paginator.posts limit:paginator.per_page %}
<div class="excerpt">
<h2><a href="{{ site.uri }}{{ post.url }}">{{ post.title }}</a></h2>
<div class="metadata">
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d %b, %Y" }}</time>
<span>by {{ post.author }}</span>
</div>
<p>{{ post.content | strip_html | truncatewords: 50 }}</p>
<div class="metadata">
Tags:
{% for tag in post.tags %}
<a href="{{ site.uri }}/tag/{{ tag | first }}.xml">{{ tag | first }}</a>
{% if forloop.rindex0 != 0 %}|{% endif %}
{% endfor %}
<br>
Category:
{% for category in post.categories %}
<a href="{{ site.uri }}/category/{{ category | first }}.xml">{{ category | first }}</a>
{% if forloop.rindex0 != 0 %}|{% endif %}
{% endfor %}
<a class="comments" href="{{ site.uri }}{{ post.url }}/#disqus_thread">View Comments</a>
</div>
</div>
{% endfor %}
</div>
<div id="paginator">
{% if paginator.previous_page > 1 %}
<a class="pe" href="/page{{ paginator.previous_page }}">Previous Entries</a>
{% elsif paginator.previous_page == 1 %}
<a class="pe" href="/">Previous Entries</a>
{% endif%}
{% if paginator.next_page %}
<a class="ne" href="/page{{ paginator.next_page }}">Next Entries</a>
{% endif%}
</div>
<script>{% include comments-counter-min.js %}</script>