/
index.html
26 lines (22 loc) · 981 Bytes
/
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
---
layout: default
---
{% for post in site.posts %}
<div id="{{ post.date | date: "%F-%H" }}" class="unit whole align-left post">
<article itemscope itemtype="http://schema.org/BlogPosting">
<h2>{{ post.title }}<br>
<small class="chip">{{ post.date | date: "%b %-d, %Y" }}</small>
<a class="chip" href="https://twitter.com/intent/tweet?text={{ post.title | cgi_escape }}&url={{ post.date | date: "%F-%H" | prepend: "#" | prepend: site.baseurl | prepend: site.url | cgi_escape }}"><i class="icon ion-social-twitter"></i> TWEET</a>
<a class="chip" href="{{ site.url }}{{ site.baseurl }}#{{ post.date | date: "%F-%H" }}"><i class="icon ion-android-share-alt"></i> LINK</a>
</h2>
<div class="post-content">
{{ post.content }}
</div>
{% if post.author %}
<span class="chip" itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Article by {{ post.author }}</span>
</span>
{% endif %}
</article>
</div>
{% endfor %}