block config

mixin section(level, name, title)
  a(name=name)
  case level
    when 1: h1 #{title}
    when 2: h2 #{title}
    when 3: h3 #{title}
  if block
    .Section-content
      block

doctype html
html(lang='en')
  head
    meta(name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0")
    block title
      title Newton
    link(href='http://fonts.googleapis.com/css?family=Poiret+One' rel='stylesheet' type='text/css')
    link(href='http://fonts.googleapis.com/css?family=Roboto:400' rel='stylesheet' type='text/css')
    link(rel='stylesheet' type='text/css' href='styles/base.css')
    link(rel='stylesheet' type='text/css' href='styles/smart-grid.css')
    link(rel='stylesheet' type='text/css' href='styles/modules.css')

  body
    .Header
      .container
        header.row
          .columns.four
            a(href='http://hunterloftis.github.io/newton/')
              h1.Logo Newton
          .columns.eight
            .MainMenu
              a(href='/dist/docs/guide.html' class=(page === 'guide' ? 'active' : '')) Guide
              a(href='#') API Reference
              a(href='https://github.com/hunterloftis/newton') Github
              a(href='https://github.com/hunterloftis/newton/issues?direction=desc&sort=created&state=open') Issues

    .container
      .row
        nav.columns.three.SideBar
          block nav

        main.columns.nine
          block content
