-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (40 loc) · 1.28 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
---
layout: default
title: Writing
titleIgnore: true
pagination:
enabled: true
indexpage: '/index'
---
<div class="blog-page">
{% for post in paginator.posts %}
<div class='article-item full-article group {% if post.photo %}has-photo{% endif %}' itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
{% if post.photo %}
<div class="article-image">
<a href="{{ post.url }}" itemprop="url">
<img alt="" src="/images/{{ post.photo }}" />
</a>
</div>
<div class="article-wrapper">
{% endif %}
<h2 class="main-headline" itemprop="name headline">
<a href="{{ post.url }}" itemprop="url">
{{ post.title }}
</a>
</h2>
<span class="date">
<time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">
{{ post.date | date: "%b %-d, %Y" }}
</time>
</span>
<div class='excerpt' itemprop="articleBody">
{{ post.excerpt | replace: "h2", "h3" | remove: '<img>' }}
</div>
<a href="{{ post.url }}" class="continue" itemprop="url">continue reading</a>
{% if post.photo %}
</div>
{% endif %}
</div>
{% endfor %}
</div>
{% include paginator.html %}