forked from angular/angular-cn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_layout.jade
33 lines (27 loc) · 930 Bytes
/
_layout.jade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
if jade2ng
if hero == 'home'
!= partial("/_includes/_hero-home")
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")
!= partial("/_includes/_main-nav")
<!-- HERO LOGO -->
if hero == 'home'
!= partial("/_includes/_hero-home")
else
!= partial("/_includes/_hero")
- var format = autoformat ? 'docs-content' : ''
article(class="l-content #{format}")
!= yield
!= partial("/_includes/_footer")
!= partial("/_includes/_scripts-include")
!= partial("/_includes/_scripts-minimum")