Conditional logic for JS and Dart pages.
This commit is contained in:
parent
9af4a31457
commit
d14e9318b3
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
if lang == 'js'
|
||||
h2 I like JavaScript
|
||||
else if lang == 'dart'
|
||||
h2 I like Dart
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"lang": "dart",
|
||||
"quickstart": {
|
||||
"lang": "dart"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
h1 Dart Quickstart
|
||||
|
||||
!= partial("../_quickstart")
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"lang": "js",
|
||||
"quickstart": {
|
||||
"lang": "js"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
h1 JavaScript Quickstart
|
||||
|
||||
!= partial("../_quickstart")
|
|
@ -1 +0,0 @@
|
|||
#Quickstart
|
Loading…
Reference in New Issue