chore(cheatsheet): fix double banner issue (#2293)
Each page is designed to have a single banner; adjust the cheatsheet to follow this convention. Also eliminate the article nested within the `l-conent` div. Propagated changes/cleanup to JS and Dart.
This commit is contained in:
parent
08130d85df
commit
562e99463a
|
@ -38,7 +38,7 @@
|
|||
|
||||
"cheatsheet": {
|
||||
"title": "Angular Cheat Sheet",
|
||||
"intro": "A quick guide to Angular syntax.",
|
||||
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
|
||||
"reference": false
|
||||
},
|
||||
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
- var base = current.path[4] ? '.' : './guide';
|
||||
.banner.grid-fluid
|
||||
.alert.is-important
|
||||
:marked
|
||||
This cheat sheet is provisional and subject to change.
|
||||
|
||||
article(class="l-content-small grid-fluid docs-content")
|
||||
.cheatsheet
|
||||
ngio-cheatsheet(src= base + '/cheatsheet.json')
|
||||
.l-content-small.grid-fluid.docs-content.cheatsheet
|
||||
ngio-cheatsheet(src= base + '/cheatsheet.json')
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
"cheatsheet": {
|
||||
"title": "Angular Cheat Sheet",
|
||||
"intro": "A quick guide to Angular syntax.",
|
||||
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
|
||||
"nextable": true,
|
||||
"basics": true
|
||||
},
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../cheatsheet")
|
||||
extends ../cheatsheet
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
"cheatsheet": {
|
||||
"title": "Angular Cheat Sheet",
|
||||
"intro": "A quick guide to Angular syntax.",
|
||||
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
|
||||
"reference": false
|
||||
},
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
- var base = current.path[4] ? '.' : './guide';
|
||||
|
||||
article(class="l-content-small grid-fluid docs-content")
|
||||
.cheatsheet
|
||||
ngio-cheatsheet(src= base + '/cheatsheet.json')
|
||||
.l-content-small.grid-fluid.docs-content.cheatsheet
|
||||
ngio-cheatsheet(src= base + '/cheatsheet.json')
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
"cheatsheet": {
|
||||
"title": "Angular Cheat Sheet",
|
||||
"intro": "A quick guide to Angular syntax.",
|
||||
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
|
||||
"nextable": true,
|
||||
"basics": true
|
||||
},
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../cheatsheet")
|
||||
extends ../cheatsheet
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
"cheatsheet": {
|
||||
"title": "Angular Cheat Sheet",
|
||||
"intro": "A quick guide to Angular syntax.",
|
||||
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
|
||||
"reference": false
|
||||
},
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
- var base = current.path[4] ? '.' : './guide';
|
||||
.banner
|
||||
p.text-body This cheat sheet is provisional and may change. Angular 2 is currently in Release Candidate.
|
||||
|
||||
article(class="l-content-small grid-fluid docs-content")
|
||||
.cheatsheet
|
||||
ngio-cheatsheet(src= base + '/cheatsheet.json')
|
||||
.l-content-small.grid-fluid.docs-content.cheatsheet
|
||||
ngio-cheatsheet(src= base + '/cheatsheet.json')
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
"cheatsheet": {
|
||||
"title": "Angular Cheat Sheet",
|
||||
"intro": "A quick guide to Angular syntax.",
|
||||
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
|
||||
"nextable": true,
|
||||
"basics": true
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue