-
Notifications
You must be signed in to change notification settings - Fork 1
/
blog.html
27 lines (27 loc) · 1.19 KB
/
blog.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
---
layout: default
---
<div id="blog_content">
{% for post in categorizer.posts %}
<div class="post">
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
<div class="title">
<h3 class="no_bg">Shortened:</h3>
<h2><a href="{{ post.shortUrl }}">{{ post.shortUrl }}</a></h2>
<h3 class="no_bg">Dated:</h3>
<h2>{{ post.date | date: '%d %B %Y' | replace: '01 ', '1 ' | replace: '02 ', '2 ' | replace: '03 ', '3 ' | replace: '04 ', '4 ' | replace: '05 ', '5 ' | replace: '06 ', '6 ' | replace: '07 ', '7 ' | replace: '08 ', '8 ' | replace: '09 ', '9 ' }}</h2>
</div><!-- end .title -->
<div class="blog_body">
{{ post.content }}
</div><!-- end .blog_body -->
</div><!-- end .post -->
{% endfor %}
<div class="blog_pagination contain">
{% if categorizer.previous_page %}
<h3 class="left"><a href="/blog{{ categorizer.previous_page }}/blog.html">« Newer Entries</a></h3>
{% endif %}
{% if categorizer.next_page %}
<h3 class="right"><a href="/blog{{ categorizer.next_page }}/blog.html">Older Entrires »</a></h3>
{% endif %}
</div><!-- end .blog_pagination -->
</div><!-- end #blog_content -->