www/src/app/resources/views/blog/archive.pug

13 lines
377 B
Plaintext
Raw Normal View History

2023-01-16 09:24:51 +00:00
extends template
block blog_content
h2(style="font-size: 36pt") Post Archive
.recent-posts
each year in postYears
h3(style="background-color: var(--c-font)") #{year}
each post in postsByYear[year]
.post-tile
.date #{blogDate(post.date)}
a.title(href=blogUrl(post)) #{post.title}