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.
 
 
 
 

1.2 KiB

layout permalink excerpt
default index.html none
{% for post in site.posts %} {% unless post.next %} ### Year {{ post.date | date: '%Y' }} {% else %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} {% if year != nyear %} ### Year {{ post.date | date: '%Y' }} {% endif %} {% endunless %}
{% comment %}Start list here instead after "Year" to simplify liquid code. This works nonetheless.{%endcomment %}
  • {{ post.title }} {{ post.date | date: "%b %d" }} {% if site.excerpt_enabled %} {% if post.content contains site.excerpt_separator %} {{ post.excerpt | strip_html }} {% else %} {{ post.excerpt | strip_html | truncatewords: site.excerpt_words }} {% endif %} {% endif %}
{% endfor %}