1 2 3 4 5 6 7 8 9 10 11
--- layout: default --- <h1>Recent posts</h1> <ul> {%- for post in site.posts -%} <li> <a href="{{ post.url }}">{{ post.title | escape }}</a> - {{ post.date | date: "%b %-d, %Y" }} </li> {%- endfor -%} </ul>