posts.html 665 B

123456789101112131415161718192021222324
  1. ---
  2. layout: page
  3. title: Posts
  4. permalink: /posts/
  5. ---
  6. {%- if site.posts.size > 0 -%}
  7. <ul class="post-list">
  8. {%- for post in site.posts -%}
  9. <li>
  10. {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
  11. <span class="post-meta">{{ post.date | date: date_format }}</span>
  12. <h3>
  13. <a class="post-link" href="{{ post.url | relative_url }}">
  14. {{ post.title | escape }}
  15. </a>
  16. </h3>
  17. <p>{{ post.summary }}</p>
  18. </li>
  19. {%- endfor -%}
  20. </ul>
  21. <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
  22. {%- endif -%}