Conditional logic for JS and Dart pages.

This commit is contained in:
David East 2015-02-21 12:43:15 -08:00
parent 9af4a31457
commit d14e9318b3
7 changed files with 24 additions and 1 deletions

1
public/docs/_data.json Normal file
View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1,5 @@
if lang == 'js'
h2 I like JavaScript
else if lang == 'dart'
h2 I like Dart

View File

@ -0,0 +1,6 @@
{
"lang": "dart",
"quickstart": {
"lang": "dart"
}
}

View File

@ -0,0 +1,3 @@
h1 Dart Quickstart
!= partial("../_quickstart")

View File

@ -0,0 +1,6 @@
{
"lang": "js",
"quickstart": {
"lang": "js"
}
}

View File

@ -0,0 +1,3 @@
h1 JavaScript Quickstart
!= partial("../_quickstart")

View File

@ -1 +0,0 @@
#Quickstart