-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
53 lines (47 loc) · 1.41 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
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
---
layout: base
title: Blog
---
<div class="page-title-bar">
<div class="inner-content">
<h2>Blog</h2>
</div>
</div>
<div id="blog">
<div id="blog-content">
{% for post in site.posts %}
<article>
<header>
<h1><a href="{% unless site.baseurl == "/" %}{{ site.baseurl }}{% endunless %}{{ post.url }}">{{ post.title }}</a></h1>
<p>Posted on {{ post.date | date: "%B %d, %Y" }} by Wolfr</p>
</header>
<div class="entry-content">
{{ post.content }}
</div>
</article>
{% endfor %}
{% if paginator.page %}
<div id="paginator" class="content">
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}/">Older entries</a>
{% endif %}
{% if paginator.previous_page %}
<a href="/page{{ paginator.previous_page }}/">Newer entries</a>
{% endif %}
</div>
{% endif %}
</div>
<div id="blog-nav">
<h4>Welcome to the {X} blog</h4>
<p>The latest and greatest on {X}. <a href="https://twitter.com/your-handle">Follow us on Twitter</a> or <a href="http://yourdomain.com/atom.xml">subscribe the RSS feed</a> for updates.</p>
<h4>Post archive</h4>
<ul class="bordered-list">
{% for post in site.posts %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
<span class="date">{{ post.date | date: "%d-%m-%Y" }}</span>
</li>
{% endfor %}
</ul>
</div>
</div>