-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (51 loc) · 1.63 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: base
---
{%for post in paginator.posts %}
<article>
<header>
<h1><a href="{{post.url}}">{{post.title}}</a></h1>
</header>
<section>
{{ post.content }}
</section>
<section>
<a href="{{post.url}}#disqus_thread"></a>
</section>
{% if post.categories %}
<section class="categories">
<span class="category-heading">Posted in: </span>
<ul>
{% for cat in post.categories %}
<li><a href="/{{cat}}">{{cat}}</a></li>
{% endfor %}
</ul> at {{post.date|date_to_string}}
</section>
{% endif %}
</article>
{%endfor%}
<!-- Pagination links -->
<nav class="pagination">
{% if paginator.previous_page %}
<a href="/page{{paginator.previous_page}}" class="previous active">Newer Posts</a>
{% else %}
<span class="previous inactive">Newer Posts</span>
{% endif %}
<span class="page_number ">Page: {{paginator.page}} of {{paginator.total_pages}}</span>
{% if paginator.next_page %}
<a href="/page{{paginator.next_page}}" class="next active">Older posts</a>
{% else %}
<span class="next inactive">Older Posts</span>
{% endif %}
</nav>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'maxpolun'; // 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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>