Fixing the docs sidebar interactions

This commit is contained in:
spf13
2014-08-20 13:13:51 -04:00
parent 04d412ed16
commit 34a93fa1f3
6 changed files with 34 additions and 29 deletions

View File

@@ -19,7 +19,8 @@
</section>
<!-- container section end -->
<!-- javascripts -->
<script src="/js/jquery.js"></script>
<script src="/js/jquery-2.1.1.min.js"></script>
<script src="/js/jquery.scrollTo.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<!--custom script for all page-->
<script src="/js/highlight.pack.js"></script>

View File

@@ -12,9 +12,9 @@
{{ .Pre }}
<!--<i class="icon_desktop"></i>-->
<span>{{ .Name }}</span>
<span class="menu-arrow arrow_carrot-right"></span>
<span class="menu-arrow fa {{if $currentNode.HasMenuCurrent "main" . }}fa-angle-down{{else}}fa-angle-right{{end}}"></span>
</a>
<ul class="sub">
<ul class="sub{{if $currentNode.HasMenuCurrent "main" . }} open{{end}}">
{{ range .Children }}
<li{{if $currentNode.IsMenuCurrent "main" . }} class="active"{{end}}><a href="{{.Url}}"> {{ .Name }} </a> </li>
{{ end }}