theme: wildspace

This commit is contained in:
Sören Weber 2021-09-12 10:33:24 +02:00
parent fe7eb1d432
commit 7fce3b516f
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
6 changed files with 168 additions and 229 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -1,10 +1,10 @@
<nav id="sidebar" class="{{ if $.Site.Params.showVisitedLinks }}showVisitedLinks{{ end }}">
<nav id="sidebar" class="{{ if $.Site.Params.showVisitedLinks }}showVisitedLinks{{ end }}">
{{- $currentNode := . }}
{{- $showvisitedlinks := .Site.Params.showVisitedLinks }}
<div id="header-wrapper">
<div id="header">
{{- partial "logo.html" . }}
{{ partial "logo.html" . }}
</div>
{{- if not .Site.Params.disableSearch }}
{{ partial "search.html" . }}
@ -94,13 +94,13 @@
{{- partial "menu-footer.html" . }}
</section>
</div>
</nav>
{{- define "section-tree-nav" }}
{{- $showvisitedlinks := .showvisitedlinks }}
{{- $currentNode := .currentnode }}
{{- $currentFileUniqueID := "" }}
{{- $alwaysopen := .alwaysopen }}
{{- with $currentNode.File }}{{ $currentFileUniqueID = .UniqueID }}{{ end }}
</nav>
{{- define "section-tree-nav" }}
{{- $showvisitedlinks := .showvisitedlinks }}
{{- $currentNode := .currentnode }}
{{- $currentFileUniqueID := "" }}
{{- $alwaysopen := .alwaysopen }}
{{- with $currentNode.File }}{{ $currentFileUniqueID = .UniqueID }}{{ end }}
{{- with .sect }}
{{- $hidden := and (eq (.Scratch.Get "relearnIsHiddenFromCurrent") true) (not $.showhidden) (not (.IsAncestor $currentNode)) }}
{{- if $hidden }}
@ -138,4 +138,4 @@
</li>
{{- end }}
{{- end }}
{{- end }}
{{- end }}

View file

@ -1,6 +1,6 @@
<div class="progress">
<div class="progress">
<div class="wrapper">
{{ .TableOfContents }}
</div>
</div>
</div>