From ad058d4e01c59e351252568b2744185d4345f671 Mon Sep 17 00:00:00 2001
From: weru <onewesh@gmail.com>
Date: Fri, 27 Nov 2020 13:37:14 +0000
Subject: [PATCH] update template #23
---
layouts/partials/sidebar.html | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 6af5f1a..642530e 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -1,10 +1,13 @@
<aside class="aside">
+ <div>
+ <label class="aside_toggle toggle" title="Docs Menu" role="button">Docs Menu {{ partial "sprite" (dict "icon" "harmburger") }}</label>
+ </div>
{{- template "tree" (dict "page" . "section" .FirstSection) }}
{{- define "tree" }}
{{- $section := .section }}
{{- $page := .page }}
{{- $permalink := $page.RelPermalink }}
- <section class="section">
+ <section class="section aside_inner">
<h2 class="section_title{{ if eq $section.RelPermalink $permalink }} active{{ end }}"><a href="{{ $section.Permalink }}" class="group">{{ $section.Title }}</a></h2>
{{- $pages := $section.Pages }}
{{- with $pages }}
--
Gitblit v1.10.0