2016-03-17 11:01:39 +00:00
< nav id = "sidebar" >
< div id = "header-wrapper" >
< div id = "header" >
{{ partial "logo.html" . }}
2016-03-17 16:48:18 +00:00
{{ if .Site.Params.search }}
2016-03-17 11:01:39 +00:00
< div class = "searchbox" >
< label for = "search-by" > < i class = "fa fa-search" > < / i > < / label >
2016-03-17 16:48:18 +00:00
< input id = "search-by" type = "text" placeholder = "Search Documentation" data-search-input = "/lunr.json/query" >
2016-03-17 11:01:39 +00:00
< span data-search-clear = "" > < i class = "fa fa-close" > < / i > < / span >
< / div >
2016-03-17 16:48:18 +00:00
{{ end }}
2016-03-17 11:01:39 +00:00
< / div >
2016-03-25 10:53:03 +00:00
< / div >
2016-03-17 11:01:39 +00:00
2016-03-25 10:53:03 +00:00
< div class = "highlightable" >
< ul class = "topics" >
{{ $page := . }}
{{ range $key , $value := .Site.Sections }}
{{ if ne $key "" }}
{{ $first := (index $value 0).Page }}
2016-03-17 11:01:39 +00:00
2016-03-25 10:53:03 +00:00
< li class = "dd-item {{ if eq $page.RelPermalink $first.RelPermalink }}active{{ end }} {{if in $page.RelPermalink $first.RelPermalink }}parent{{ end }}" data-nav-id = "{{ $first.RelPermalink }}" >
< a href = "{{ $first.RelPermalink }}" >
< span >
{{ if isset $first.Params "icon" }}
{{ printf $first.Params.icon | safeHTML }}
2016-03-21 15:58:15 +00:00
{{ end }}
2016-03-25 10:53:03 +00:00
{{ $first.Title }}
< / span >
< / a >
{{ if gt .Pages.Len 1}}
< ul >
{{ range $k, $p := .Pages }}
{{ if gt $k 0 }}
< li class = "dd-item {{ if eq $page.RelPermalink $p.RelPermalink }}active{{ end }}" data-nav-id = "{{ $p.RelPermalink }}" >
< a href = "{{ $p.RelPermalink }}" >
< span > {{ $p.Title }}< / span >
< / a >
< / li >
2016-03-17 11:01:39 +00:00
{{ end }}
{{ end }}
< / ul >
2016-03-25 10:53:03 +00:00
{{ end }}
< / li >
{{ end }}
{{ end }}
< / ul >
< hr >
< section id = "footer" >
< p > Built with < a href = "https://github.com/matcornic/hugo-theme-learn" > < i class = "fa fa-heart" > < / i > < / a > from < a href = "http://getgrav.org" > Grav< / a > and < a href = "http://gohugo.io/" > Hugo< / a > < / p >
< / section >
2016-03-17 11:01:39 +00:00
< / div >
< / nav >