Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 287 Bytes
h1
' Blog posts from
= data.year
ul.post-list
- for post in find("/posts").posts.select { |p| p.data['date'].year == page.data['year'] } do
li
.post-meta = date_format post.data["date"], "%B %e, %Y"
.post-link = link_to(post.data["title"] || "Unnamed Post", post)