blog.negative9.net/templates/article.jade

27 lines
510 B
Plaintext

extends layout
block append vars
- bodyclass = 'article-detail'
block prepend title
| #{ page.title + ' - '}
block header
include author
a(href=locals.url)
img(src="/img/logo.png", alt="", srcset="" height="64")
a(href=locals.home)
h1= page.title
p.author
| #{ 'Written by ' }
mixin author(page.metadata.author)
block content
article.article
section.content!= typogr(page.html).typogrify()
block prepend footer
div.nav
a(href=contents.index.url) « Full blog