${year}
`
posts.sort('date', -1).filter(function (post) {
post.year = date(post.date, 'YYYY')
return post.year == year
}).each(function(post) {
el += ``
})
el += `% page.robots = 'noindex,follow'; if (page.menu_id == undefined) { page.menu_id = 'post'; } if (page.author) { page.header = false; } function layoutArchiveList() { var el = '' var cls = '' if (page.author) { page.title = page.author.name page.banner = page.author.banner page.banner_info = { avatar: page.author.avatar, subtitle: page.author.description } el += partial('_partial/main/navbar/article_banner') cls += ' author' } else { page.title = __('btn.archives') el += partial('_partial/main/navbar/nav_tabs_blog') } el += `