From e037b7c70f3800a2cd38715ca31cd4cdca71c96e Mon Sep 17 00:00:00 2001 From: tyler71 <4926565+tyler71@users.noreply.github.com> Date: Mon, 13 Jan 2020 08:44:24 -0800 Subject: mobile toc menu (#121) * Implement TOC for mobile * Uses Page title as label * Label entries so that tapping TOC will hide menu * Switch to medium breakpoint * Correct tos -> toc * toc-menu-control -> toc-control --- layouts/partials/docs/toc.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'layouts/partials/docs/toc.html') diff --git a/layouts/partials/docs/toc.html b/layouts/partials/docs/toc.html index 256a370..79bfc0a 100644 --- a/layouts/partials/docs/toc.html +++ b/layouts/partials/docs/toc.html @@ -1,6 +1,10 @@ {{ $tocLevels := default (default 6 .Site.Params.BookToC) .Params.BookToC }} {{ if and $tocLevels .Page.TableOfContents }} {{ end }} -- cgit v1.2.3