dropdown initial test

This commit is contained in:
Alex Wolfe 2015-03-02 19:07:47 -08:00
parent cf4cf8503c
commit b43daa67ce
1 changed files with 21 additions and 0 deletions

View File

@ -10,6 +10,27 @@ if language == 'dart'
if version == "latest" if version == "latest"
title = 'Dart ' + dartLatest title = 'Dart ' + dartLatest
filter = /(\.html$)/
replace = /(\.html$)|(^index\.html$)/
mixin tree(head, tail)
for val, key in head
if key !== '.git' && key !== '_data'
if key == '_contents'
each file in val
if filter.test(file) && !/^404\.html/.test(file)
- file = file.replace(replace, "");
li: a(href="#{ tail + file }")= tail + file
else
mixin tree(val, tail + key + "/")
h1 Sitemap
ol
mixin tree(public, "/")
h2.hero-subtitle.text-subhead h2.hero-subtitle.text-subhead
button(md-button ng-click="showVersionMenu($event)") #{title} <span class="icon-arrow-drop-down"></span> button(md-button ng-click="showVersionMenu($event)") #{title} <span class="icon-arrow-drop-down"></span>