megane9988
5/4/2015 - 5:21 AM

Foundationのオフキャンバスをjadeでやるとき

Foundationのオフキャンバスをjadeでやるとき

header.l-header
  a.left-off-canvas-toggle(href="#") Menu
  aside.left-off-canvas-menu
    ul
      li
        a(href="#") Item 1
include inc/core/_config
extends inc/core/_base
block title
  - var title = ''
  title= title
block prepend meta
  - var sitename = name
  - var keywords = page.top.keywords
  - var description = page.top.description
  - var ogpimage = page.top.ogpimage
  - var bodyClass = 'home'
block append meta
block body
  div.off-canvas-wrap(data-offcanvas)
    div.l-container.inner-wrap
      include inc/layout/_l-header

      #main.l-main
        h1 Hello World.

      include inc/layout/_l-footer
block append scriptFooter