article.pug 400 B

1234567891011121314151617181920212223
  1. extends layout
  2. block append vars
  3. - bodyclass = 'article-detail'
  4. block prepend title
  5. | #{ page.title + ' - '}
  6. block header
  7. include author
  8. h1= page.title
  9. p.author
  10. | #{ 'Written by ' }
  11. +author(page.metadata.author)
  12. block content
  13. article.article
  14. section.content!= typogr(page.html).typogrify()
  15. block prepend footer
  16. div.nav
  17. a(href=contents.index.url) « Full blog