-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (47 loc) · 1.73 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
---
layout: default
title: Blog
---
{% for post in paginator.posts %}
<!-- To create this page, copy _layouts/post.html and replace `page.` with `post.` -->
<article>
<header>
<h4 class="meta">{{ post.date | date: '%B %e, %Y' }}</h4>
<h1 class="title">
<a href="{{ post.url }}" rel="bookmark" title="Permanent Link: {{ post.title }}">
{{ post.title }}
</a>
</h1>
</header>
<section class="entry">
{{ post.content }}
</section>
<section class="share-actions">
<fb:like
href="http://blog.thethingdom.com{{ post.url }}/"
layout="button_count"
width="90px"
style="top: -3px;"></fb:like>
<a href="http://twitter.com/share"
class="twitter-share-button"
data-url="http://blog.thethingdom.com{{ post.url }}/"
data-text="{{ post.title }}"
data-via="TheThingdom"
data-related="TheThingdom:The Thingdom">Tweet</a>
<g:plusone
size="medium"
href="http://blog.thethingdom.com{{ post.url }}/"></g:plusone>
</section>
</article>
{% endfor %}
{% if paginator.previous_page or paginator.next_page %}
<div class="page-links clearfix"> <!-- XXX FIXME manual clearfix here -->
{% if paginator.previous_page %}
<a class="newer" href="/page{{paginator.previous_page}}">← Newer</a>
{% endif %}
<!-- TODO show paginator.page of paginator.total_pages? -->
{% if paginator.next_page %}
<a class="older" href="/page{{paginator.next_page}}">Older →</a>
{% endif %}
</div>
{% endif %}