You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

41 lines
1.1 KiB

---
layout: default
permalink: index.html
---
<section>
<div id="main"></div>
{% for post in site.posts %}
{% unless post.next %}
<h3>{{ post.date | date: '%Y' }} ~</h3>
{% else %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% if year != nyear %}
<h3>{{ post.date | date: '%Y' }} ~</h3>
{% endif %}
{% endunless %}
<ul>
<li>
<div class="post-date">
<span>{{ post.date | date: "%b %d" }}</span>
</div>
<div class="title">
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</div>
{% if site.excerpt_enabled %}
<div class="excerpt">
{% if post.content contains site.excerpt_separator %}
{{ post.excerpt | strip_html }}
{% else %}
{{ post.excerpt | strip_html | truncatewords: site.excerpt_words }}
{% endif %}
</div>
{% endif %}
</li>
</ul>
{% endfor %}
</section>