forked from memfault/interrupt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
23 lines (19 loc) · 680 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
---
layout: default
---
<!-- Posts -->
<ul id="posts">
{% for post in paginator.posts %}
<li class="post">
<h2><a href="{% if site.baseurl == "/" %}{{ post.url }}{% else %}{{ post.url | prepend: site.baseurl }}{% endif %}">{{ post.title }}</a></h2>
<div class="by-line">
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time>
{% assign author = site.data.authors[post.author] %}
{% if author %}
<span>by <a href="{{ author.web }}">{{ author.name }}</a></span>
{% endif %}
</div>
<p>{{ post.excerpt }}</p>
</li>
{% endfor %}
</ul>