{{define "partials/sidebar_browse.html"}} {{if .SourceLabelCounts}}
{{end}} {{if .FolderTree}} {{$root := index .FolderTree 0}}
{{end}} {{/* Saved searches */}} {{if .SavedSearches}}
{{end}} {{end}} {{define "folder_node"}} {{$node := .Node}} {{$query := .Query}} {{$active := printf "folder:%s" $node.Path}} {{$quotedActive := printf `folder:"%s"` $node.Path}} {{$onlyActive := printf "folderonly:%s" $node.Path}} {{$quotedOnlyActive := printf `folderonly:"%s"` $node.Path}}
  • {{if $node.Children}} {{else}} {{end}} {{$node.Name}}/ ({{$node.Count}}) [·]
    {{if $node.Children}} {{end}}
  • {{end}}