//
  -            such pony !
    @nzgb
        so buildfirst#          __|_\_
                              =u__.-.__)
     http://ponyfoo.com           /_/

          very semver #{model.pkg.version}
doctype html
html(lang='en', itemscope, itemtype='http://schema.org/Blog')
  head
    title=model.title
    style
    meta(charset='utf-8')

    link(rel='shortcut icon', href='/favicon.ico')
    link(rel='alternate', type='application/rss+xml', href=model.env.authority + '/articles/feed')
    link(rel='search', type='application/opensearchdescription+xml', title='Pony Foo', href=model.env.authority + '/opensearch.xml')
    link(rel='canonical', href!=model.env.authority + model.meta.canonical)

    meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
    meta(name='viewport', content='width=device-width, initial-scale=1')
    meta(name='author', itemprop='creator', content!=author.contact)

    if model.meta.keywords && model.meta.keywords.length
      meta(name='keywords', content=model.meta.keywords.join(','))

    meta(name='description', property='og:description', itemprop='description', content=model.meta.description)
    meta(property='og:site_name', content='Pony Foo')
    meta(property='og:url', itemprop='url', content=model.meta.canonical)
    meta(name='twitter:title', itemprop='name', property='og:title', content=model.title)
    meta(name='twitter:description', content=model.meta.description)
    meta(name='twitter:card', content='summary')
    meta(name='twitter:site', content='@ponyfoo')
    meta(name='twitter:creator', content=author.twitter)

    each image, i in model.meta.images
      meta(property='og:image', itemprop=i === 0 && 'images', content=image)

    //- twitter only cares about the last meta image, repeat the cover
    if model.meta.images.length
      meta(name='twitter:image:src', content=model.meta.images[0])

    script!=styleLoader
    script!=fontLoader
    noscript
      style.
        .js-only{display:none !important}
      link(rel='stylesheet', type='text/css', href='/css/all.css')
      link(rel='stylesheet', type='text/css', href='http://fonts.googleapis.com/css?family=Cardo:700|Merriweather:400italic,400,700')

  body#top
    a.nv-search(href='#search') Search

    header.ly-header.vw-title
      h1.ly-title
        a.ly-title-anchor(href='/', aria-label='Go to home') Pony Foo
      h2.ly-legend Ramblings of a degenerate coder

    if model.flash
      include flash

    include navigation

    main.ly-main(data-taunus='model')!=partial

    include aside
    include ponycube

    script!=javascriptLoader
