extends layout.pug block head if tag - tagName = tag[0].toUpperCase() + tag.slice(1) - title= `${tagName} | ${title}` if paginator && paginator.current > 1 - title = `Page ${paginator.current} | ${title}` title= title block content if tag h1.tag= tagName //- if content //- article.page!= content if posts - let now = new Date() each post in posts if new Date(post.date) < now +post(post) include paginator else include includes/empty