-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (69 loc) · 1.91 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
layout: default
title: Winging It
---
<div id="home">
{% for post in paginator.posts %}
<div>
{% capture date_format %}%A, %B %e, %Y{% endcapture %}
<div class="timestamp">{{ post.date | date: date_format }}</div>
<h2 class="index-link"><a href="{{ post.url }}">{{ post.title }}</a></h2>
{% include post.html %}
</div>
{% endfor %}
</div>
{% if paginator.total_pages > 1 %}
<div id="pagination">
<ol>
{% if paginator.previous_page %}
<li>
{% if paginator.previous_page > 1 %}
<a href="/page{{ paginator.previous_page }}" title="Go to previous page">
« previous
</a>
{% else %}
<a href="/" title="Go to previous page">
« previous
</a>
{% endif %}
</li>
{% endif %}
{% for page in (1..paginator.total_pages) %}
<li>
{% if page == paginator.page %}
{{ page }}
{% else %}
{% if page > 1 %}
<a href="/page{{ page }}">{{page}}</a>
{% else %}
<a href="/">{{page}}</a>
{% endif %}
{% endif %}
</li>
{% endfor %}
{% if paginator.next_page %}
<li>
<a href="/page{{ paginator.next_page }}" title="Go to next page">
next »
</a>
</li>
{% endif %}
</ol>
<div style="clear: both; height: 0px">.</div>
</div>
{% endif %}
<script type="text/javascript">
$(function(){
$(".post h2").hide();
$(".post .timestap").hide();
});
</script>
<script type="text/javascript">
var disqus_shortname = 'timwingfield';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>