This commit is contained in:
Alex Wolfe 2015-03-04 07:49:47 -08:00
parent 5c8616fae4
commit b959101963
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
language = current.path[1]
title = "Javascript "
title = "JavaScript "
filter = /(\.html$)/
replace = /(\.html$)|(^index\.html$)/
@ -19,9 +19,9 @@ mixin tree(directory, urlPrefix, name, latest)
<!-- BUTTON TITLE GENERATION -->
if language == 'js'
if version == "latest"
title = 'Javascript ' + jsLatest
title = 'JavaScript ' + jsLatest
else
title = 'Javascript ' + version
title = 'JavaScript ' + version
if language == 'dart'
@ -38,7 +38,7 @@ nav.hero-subtitle.text-subhead.dropdown
<!-- DROPDOWN MENU -->
div(class="dropdown-menu ng-hide" ng-show="showMenu")
mixin tree(public.docs.js, "/docs/js", "Javascript", jsLatest)
mixin tree(public.docs.js, "/docs/js", "JavaScript", jsLatest)
mixin tree(public.docs.dart, "/docs/dart", "Dart", dartLatest)
ul
li <a href="https://angularjs.org/" md-button>#{name} Angular 1.X</a>