wildspace

This commit is contained in:
Sören Weber 2021-08-24 20:57:33 +02:00
parent 449708afd4
commit 2fcc3979b4
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -1,5 +1,4 @@
<nav id="sidebar" class="{{if $.Site.Params.showVisitedLinks }}showVisitedLinks{{end}}">
{{ $currentNode := . }}
{{ $showvisitedlinks := .Site.Params.showVisitedLinks }}
<div id="header-wrapper">
@ -22,7 +21,6 @@
<div class="highlightable">
<ul class="topics">
{{if eq .Site.Params.ordersectionsby "title"}}
{{range .Site.Home.Sections.ByTitle}}
{{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode "showvisitedlinks" $showvisitedlinks}}
@ -146,8 +144,7 @@
</ul>
{{ end }}
</li>
{{else}}
{{ if not .Params.Hidden }}
{{else if not .Params.Hidden }}
<li data-nav-id="{{.RelPermalink}}" title="{{.Title}}" class="dd-item {{if eq .File.UniqueID $currentFileUniqueID}}active{{end}}">
<a href="{{ .RelPermalink}}">
{{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML .Params.Post}}
@ -157,4 +154,3 @@
{{end}}
{{ end }}
{{ end }}
{{ end }}