30 lines
938 B
HTML
30 lines
938 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<div class="home">
|
|
|
|
<ul class="post-list">
|
|
{% for post in site.posts %}
|
|
<li class='lang-{% if post.lang %}{{ post.lang }}{% else %}en{% endif %}'>
|
|
<h2>
|
|
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
|
|
|
<p class="post-meta">
|
|
<span>{{ post.date | date: "%b %-d, %Y" }}</span>
|
|
{% if post.meta %} • <span>{{ post.meta }}</span>{% endif %}
|
|
• <span>Reading time: {{ post.content | reading_time }}</span>
|
|
{% if post.author %} • <span><a href='{{ site.authors[post.author].url }}'>{{ post.author }}</a></span>{% endif %}
|
|
</p>
|
|
</h2>
|
|
<article class='post-content'>
|
|
{{ post.excerpt }}
|
|
</article>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via rss</a></p>
|
|
|
|
</div>
|