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.
|
2015-02-18 19:57:27 -05:00
|
|
|
doctype
|
2015-09-17 20:04:58 -04:00
|
|
|
html(lang="en" ng-app="angularIOApp" itemscope itemtype="http://schema.org/Framework")
|
2016-07-15 17:10:12 -04:00
|
|
|
// template: public/docs/_layout
|
2015-02-18 19:57:27 -05:00
|
|
|
head
|
2015-02-27 10:17:29 -05:00
|
|
|
!= partial("../_includes/_head-include")
|
2016-07-15 17:10:12 -04:00
|
|
|
block head-extra
|
2015-02-25 10:15:46 -05:00
|
|
|
|
2016-07-15 17:10:12 -04:00
|
|
|
//-
|
2015-05-31 03:14:55 -04:00
|
|
|
body(class="l-offset-nav l-offset-side-nav" ng-controller="AppCtrl as appCtrl")
|
2015-02-18 19:57:27 -05:00
|
|
|
!= partial("../_includes/_main-nav")
|
2016-03-04 20:56:41 -05:00
|
|
|
if current.path[2]
|
|
|
|
!= partial("_includes/_side-nav")
|
2015-02-27 10:17:29 -05:00
|
|
|
!= partial("../_includes/_hero")
|
2015-04-26 11:01:04 -04:00
|
|
|
!= partial("../_includes/_banner")
|
2015-03-01 09:42:31 -05:00
|
|
|
|
2015-05-03 23:28:21 -04:00
|
|
|
if current.path[3] == 'api'
|
2015-10-15 17:16:35 -04:00
|
|
|
if current.path[4] == 'index'
|
2015-05-03 23:28:21 -04:00
|
|
|
!= yield
|
2015-10-15 17:16:35 -04:00
|
|
|
else
|
|
|
|
article(class="l-content-small grid-fluid docs-content")
|
|
|
|
!= yield
|
2015-10-16 14:12:03 -04:00
|
|
|
else if current.path.indexOf('cheatsheet') > 0
|
|
|
|
!= yield
|
2015-05-03 23:28:21 -04:00
|
|
|
else
|
2016-05-16 13:22:13 -04:00
|
|
|
if current.path[3] == 'index' || current.path[3] == 'styleguide'
|
|
|
|
article(class="l-content-small grid-fluid docs-content")
|
|
|
|
!= yield
|
|
|
|
else
|
|
|
|
article(class="l-content-small grid-fluid docs-content")
|
2016-09-12 11:34:29 -04:00
|
|
|
!= yield
|
|
|
|
if (current.path[3] == 'guide' || current.path[3] == 'tutorial') && current.path[4]
|
|
|
|
!= partial("../_includes/_next-item")
|
2015-02-27 10:17:29 -05:00
|
|
|
|
2015-02-25 10:15:46 -05:00
|
|
|
!= partial("../_includes/_footer")
|
2015-02-27 10:17:29 -05:00
|
|
|
!= partial("../_includes/_scripts-include")
|