angular-docs-cn/public/_layout.jade

22 lines
490 B
Plaintext
Raw Normal View History

2015-02-18 19:40:42 -05:00
doctype
2015-02-24 09:38:30 -05:00
html(lang="en" layout="column" ng-app="myApp")
2015-02-18 19:40:42 -05:00
head
2015-02-19 12:51:07 -05:00
!= partial("/_includes/_head-include")
2015-02-24 09:38:30 -05:00
2015-02-25 10:15:46 -05:00
body(class="l-offset-nav" ng-controller="AppCtrl")
2015-02-18 19:47:52 -05:00
!= partial("/_includes/_main-nav")
2015-02-25 10:15:46 -05:00
// INCLUDE HERO
if hero == 'home'
!= partial("/_includes/_hero-home")
else
!= partial("/_includes/_hero")
// PAGE CONTENT
.l-content
!= yield
// FOOTER & SCRIPTS
2015-02-19 12:51:07 -05:00
!= partial("/_includes/_footer")
!= partial("/_includes/_scripts-include")