-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (24 loc) · 1.14 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
---
layout: default
---
{% for post in paginator.posts %}
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<div class="main-content" itemprop="articleBody">
<a name="blog{{ forloop.index }}"></a>
<header class="post-header">
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}"><h3 class="post-title" itemprop="name headline"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: '%B %-d, %Y'}}</time></h3> </a>
</header>
{{ post.content | split:'<!--break-->' | first }}
{% if post.content contains '<!--break-->' %}<a href="{{ site.baseurl }}{{ post.url }}"><b> read more... </b></a>{% endif %}
</div>
</article>
{% endfor %}
<div class="pagination" style="text-align: center;">
{% if paginator.next_page %}
<h2><a href="{{ paginator.next_page_path }}" class="next">- more posts -</a></h2>
{% endif %}
{% if paginator.previous_page %}
<h2><a href="{{ paginator.previous_page_path }}" class="previous">- previous page -</a></h2>
{% endif %}
<a href="/"><h3 style="text-align: center;">- to home -</h3></a>
</div>