blog.negative9.net/templates/index.jade

28 lines
642 B
Plaintext
Raw Normal View History

2018-03-11 11:15:42 +00:00
extends layout
block content
include author
each article in articles
article.article.intro
header
p.date
span= moment.utc(article.date).format('DD. MMMM YYYY')
h2
a(href=article.url)= article.title
section.content
if article.intro.length > 0
!= typogr(article.intro).typogrify()
if article.hasMore
p.more
a(href=article.url) more
block prepend footer
div.nav
if prevPage
a(href=prevPage.url) « Newer
else
a(href='/archive.html') « Archives
if nextPage
a(href=nextPage.url) Next page »