Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 875 Bytes

blog.md

File metadata and controls

27 lines (23 loc) · 875 Bytes
layout permalink title
page
/blog/
Blog posts

{% include search.html %}

Subscribe via RSS

{% for post in site.posts %} {% assign currentdate = post.date | date: "%Y" %} {% if currentdate != date %}

{{ currentdate }}

{% assign date = currentdate %} {% endif %}
<div class="post-block">
  <h3>
    <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title }}</a>
  </h3>
  <span class="post-meta" title="{{ post.date | date: "%b %-d Y" }}">{{ post.date | date: "%b %-d" }} <span class="meta-year">{{ currentdate }}</span></span>
  {% if post.description %}<p class="post-subtitle">{{ post.description }}</p>{% endif %}
</div>

{% endfor %}