-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
71 lines (60 loc) · 2.11 KB
/
index.html
File metadata and controls
71 lines (60 loc) · 2.11 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
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
---
layout: default
---
{% if paginator.page == 1 %}
<section class="latest-post">
{% assign page = site.posts.first %}
{% assign content = page.excerpt %}
{% assign homepage = true %}
{% assign author = site.authors[page.author] %}
{% include post.html %}
<a href="{{ page.url }}" class="button primary small">Continue Reading →</a>
</section>
{% endif %}
{% include mailchimp.html %}
<ul class="archived-posts">
{% for post in paginator.posts %}
{% if post != site.posts.first %}
{% if post.external-url %}
<li>
<a href="{{ post.external-url }}">{{ post.title }}</a>
<a class="anchor" href="{{ post.url }}"><i class="icon-anchor"></i></a>
</li>
{% else %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="prev" href="/">← Previous</a>
{% else %}
<a class="prev" href="/{{paginator.previous_page}}/">← Previous</a>
{% endif %}
{% else %}
<span class="disabled">← Previous</span>
{% endif %}
<span class="bullet">•</span>
<span class="pages">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
<span class="bullet">•</span>
{% if paginator.next_page %}
<a class="next" href="/{{paginator.next_page}}/">Next →</a>
{% else %}
<span class="disabled">Next →</span>
{% endif %}
</div>
{% endif %}
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'devgrow'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>