-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
43 lines (39 loc) · 1.17 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
---
layout: default
title: Bill Turner's Weblog
---
{% assign post_counter = 1 %}
{% for post in paginator.posts %}
{% include index_post.html %}
{% if paginator.page == 1 %}
{% if post_counter == 1 %}
<div class="post-separator">~</div>
<article class="post">
<h3>Inspiration from around the web:</h3>
{% pinboard %}
<p>
More #inspiration links on <a href="https://pinboard.in/u:billturner/t:inspiration">pinboard</a>.
</p>
</article>
{% endif %}
{% endif %}
{% unless forloop.last %}
<div class="post-separator">~</div>
{% endunless %}
{% capture post_counter %}{{ post_counter | plus: 1 }}{% endcapture %}
{% endfor %}
<div class="pagination">
<div class="next-page">
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}/">« Older Posts</a>
{% endif %}
</div>
<div class="previous-page">
{% if paginator.previous_page %}
<a href="{% if paginator.previous_page == 1 %}/{% else %}/page{{ paginator.previous_page }}/{% endif %}">Newer Posts »</a>
{% endif %}
</div>
</div>
<script type="text/javascript">
{% include disqus.html %}
</script>