www/src/app/resources/views/blog/archive.pug
2025-02-22 20:10:24 -05:00

14 lines
345 B
Plaintext

extends template
block blog_content
h2 Post Archive
.recent-posts
each year in postYears
h3 #{year}
ul.plain
each post in postsByYear[year]
li
.secondary #{blogDate(post.date)}
a.title(href=blogUrl(post)) #{post.title}