Merge pull request #9 from davideast/de-conditional

Conditional logic for JS and Dart
This commit is contained in:
David East 2015-02-26 07:15:55 -08:00
commit d0ce11c6f1
7 changed files with 18 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,3 @@
{
"lang": "dart"
}

View File

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

View File

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

View File

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

View File

@ -1 +0,0 @@
#Quickstart