-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (29 loc) · 1.54 KB
/
index.html
File metadata and controls
37 lines (29 loc) · 1.54 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
---
layout: default
---
{% for post in paginator.posts %}
<article>
<p class="post_meta"><time datetime="{{ post.date }}">{{ post.date | date: "%-d %B %Y"}}</time></p>
<h1><a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h1>
{{ post.content }}
<p class="post_tags">Tagged with: {{ post.tags | join: ', ' }}</p>
<a class="twitter-button group" href="https://twitter.com/intent/tweet?original_referer={{ site.url }}{{ post.url }}&text=Reading:%20{{ post.title }}&tw_p=tweetbutton&url={{ site.url }}{{ post.url }}&via=davemcnally"><img src="{{ site.url }}/images/tweet.svg" width="32" height="32" alt="Twitter Icon" /><span>Share Me On Twitter!</span></a>
</article>
{% endfor %}
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a class="pagination_newer" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">Newer Posts > </a>
{% else %}
<span class="pagination_newer">No Newer Posts</span>
{% endif %}
<!--
<span class="page_number">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
-->
{% if paginator.next_page %}
<a class="pagination_older" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">< Older Posts</a>
{% else %}
<span class="pagination_older">No Older Posts</span>
{% endif %}
</div>
{% endif %}