chore: define alt ng2 layout for top-level pages (#2686)
This commit is contained in:
parent
c426e57818
commit
b44cc42f3a
|
@ -1,23 +1,33 @@
|
||||||
doctype html public
|
if jade2ng
|
||||||
html(lang="en" ng-app="angularIOApp" itemscope itemtype="http://schema.org/Framework")
|
if hero == 'home'
|
||||||
head
|
!= partial("/_includes/_hero-home")
|
||||||
!= partial("/_includes/_head-include")
|
else
|
||||||
|
!= partial("/_includes/_hero")
|
||||||
|
!= partial("../_includes/_banner")
|
||||||
|
- var format = autoformat ? 'docs-content' : ''
|
||||||
|
article(class="l-content #{format}")
|
||||||
|
!= yield
|
||||||
|
else
|
||||||
|
doctype html public
|
||||||
|
html(lang="en" ng-app="angularIOApp" itemscope itemtype="http://schema.org/Framework")
|
||||||
|
head
|
||||||
|
!= partial("/_includes/_head-include")
|
||||||
|
|
||||||
body.ng-cloak.l-offset-nav(ng-controller="AppCtrl as appCtrl")
|
body.ng-cloak.l-offset-nav(ng-controller="AppCtrl as appCtrl")
|
||||||
!= partial("/_includes/_main-nav")
|
!= partial("/_includes/_main-nav")
|
||||||
|
|
||||||
<!-- HERO LOGO -->
|
<!-- HERO LOGO -->
|
||||||
if hero == 'home'
|
if hero == 'home'
|
||||||
!= partial("/_includes/_hero-home")
|
!= partial("/_includes/_hero-home")
|
||||||
else
|
else
|
||||||
!= partial("/_includes/_hero")
|
!= partial("/_includes/_hero")
|
||||||
|
|
||||||
- var format = autoformat ? 'docs-content' : ''
|
- var format = autoformat ? 'docs-content' : ''
|
||||||
|
|
||||||
|
|
||||||
article(class="l-content #{format}")
|
article(class="l-content #{format}")
|
||||||
!= yield
|
!= yield
|
||||||
|
|
||||||
!= partial("/_includes/_footer")
|
!= partial("/_includes/_footer")
|
||||||
!= partial("/_includes/_scripts-include")
|
!= partial("/_includes/_scripts-include")
|
||||||
!= partial("/_includes/_scripts-minimum")
|
!= partial("/_includes/_scripts-minimum")
|
||||||
|
|
Loading…
Reference in New Issue