layout.pug 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. doctype html
  2. block vars
  3. - var bodyclass = null;
  4. html(lang='en')
  5. head
  6. block head
  7. meta(charset='utf-8')
  8. meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
  9. meta(name='viewport', content='width=device-width')
  10. title
  11. block title
  12. = locals.name
  13. link(rel='alternate', href=locals.url+'/feed.xml', type='application/rss+xml', title=locals.description)
  14. link(rel='stylesheet', href='//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic|Anonymous+Pro:400,700,400italic,700italic|Merriweather:400,700,300')
  15. link(rel='stylesheet', href=contents.css['main.css'].url)
  16. body(class=bodyclass)
  17. header.header
  18. div.content-wrap
  19. block header
  20. div.logo
  21. h1
  22. a(href=locals.url)= locals.name
  23. p.description= locals.description
  24. div#content
  25. div.content-wrap
  26. block content
  27. h2 Welcome to zombocom!
  28. footer
  29. div.content-wrap
  30. block footer
  31. section.about
  32. !=contents['about.md'].html
  33. section.copy
  34. p © #{ new Date().getFullYear() } #{ locals.owner } — powered by 
  35. a(href='https://github.com/jnordberg/wintersmith') Wintersmith
  36. //- please leave the "powered by" if you use the design