2016-07-15 17:10:12 -04:00
|
|
|
//- WARNING: _layout.jade and _layout-dart-api.jade should match in terms of content
|
|
|
|
//- except that one uses Harp partial/yield and the other uses Jade extends/include.
|
2016-10-03 17:58:50 -04:00
|
|
|
if jade2ng
|
|
|
|
.side-nav--offset
|
|
|
|
link(rel="stylesheet" href="/assets/css/vendor/dartdoc/bootstrap.min.css")
|
|
|
|
link(rel="stylesheet" href="/assets/css/vendor/dartdoc/styles.css")
|
2016-07-15 17:10:12 -04:00
|
|
|
include ../_includes/_hero
|
|
|
|
include ../_includes/_banner
|
2016-10-03 17:58:50 -04:00
|
|
|
.l-content-small.grid-fluid.docs-content
|
2016-07-15 17:10:12 -04:00
|
|
|
block main-content
|
2016-10-03 17:58:50 -04:00
|
|
|
else
|
|
|
|
doctype
|
|
|
|
html(lang="en" ng-app="angularIOApp" itemscope itemtype="http://schema.org/Framework")
|
|
|
|
// template: public/docs/_layout-dart-api
|
|
|
|
head
|
|
|
|
include ../_includes/_head-include
|
|
|
|
link(rel="stylesheet" href="/resources/css/vendor/dartdoc/bootstrap.min.css")
|
|
|
|
link(rel="stylesheet" href="/resources/css/vendor/dartdoc/styles.css")
|
|
|
|
block head-extra
|
|
|
|
|
|
|
|
block var-def
|
|
|
|
body(class="l-offset-nav l-offset-side-nav" ng-controller="AppCtrl as appCtrl")
|
|
|
|
include ../_includes/_main-nav
|
|
|
|
if current.path[2]
|
|
|
|
include _includes/_side-nav
|
|
|
|
include ../_includes/_hero
|
|
|
|
include ../_includes/_banner
|
|
|
|
|
|
|
|
if current.path[3] == 'api'
|
|
|
|
if current.path[4] == 'index'
|
2016-07-15 17:10:12 -04:00
|
|
|
block main-content
|
2016-10-03 17:58:50 -04:00
|
|
|
else
|
|
|
|
article(class="l-content-small grid-fluid docs-content")
|
|
|
|
block main-content
|
|
|
|
else if current.path.indexOf('cheatsheet') > 0
|
|
|
|
block main-content
|
2016-07-15 17:10:12 -04:00
|
|
|
else
|
2016-10-03 17:58:50 -04:00
|
|
|
if current.path[3] == 'index' || current.path[3] == 'styleguide'
|
|
|
|
article(class="l-content-small grid-fluid docs-content")
|
|
|
|
block main-content
|
|
|
|
else
|
|
|
|
article(class="l-content-small grid-fluid docs-content")
|
|
|
|
div(class="c10")
|
|
|
|
.showcase
|
|
|
|
.showcase-content
|
|
|
|
block main-content
|
|
|
|
if (current.path[3] == 'guide' || current.path[3] == 'tutorial') && current.path[4]
|
|
|
|
include ../_includes/_next-item
|
2016-07-15 17:10:12 -04:00
|
|
|
|
2016-10-03 17:58:50 -04:00
|
|
|
include ../_includes/_footer
|
|
|
|
include ../_includes/_scripts-include
|
2016-10-12 12:48:30 -04:00
|
|
|
include ../_includes/_scripts-minimum
|