You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
293 B
10 lines
293 B
1 year ago
|
|
||
|
if page.posts.length > 0
|
||
|
#recent-posts
|
||
|
h1 Recent Posts
|
||
|
each post in page.posts.sort('date', -1).limit(10).toArray()
|
||
|
.recent-post-item
|
||
|
a(href=url_for(post.path))= post.title
|
||
|
if post.date
|
||
|
time(datetime=post.date.toJSON())= date(post.date, date_format)
|