From cce17bcc99be389dce5bfbadfabaacf132c3f8f7 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Wed, 26 Sep 2018 00:12:56 +0200 Subject: Remove purecss dependency and replace with flexbox --- layouts/partials/docs/nav-filetree.html | 47 --------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 layouts/partials/docs/nav-filetree.html (limited to 'layouts/partials/docs/nav-filetree.html') diff --git a/layouts/partials/docs/nav-filetree.html b/layouts/partials/docs/nav-filetree.html deleted file mode 100644 index 3ec4539..0000000 --- a/layouts/partials/docs/nav-filetree.html +++ /dev/null @@ -1,47 +0,0 @@ - -{{ template "book-get-root-section" . }} - -{{- range .Scratch.Get "BookSections" -}} - {{ template "book-section" (dict "Section" . "CurrentPage" $.Permalink) }} -{{- end -}} - -{{ define "book-section" }} - -{{ end }} - -{{ define "book-page-link" }} -{{- with .Page -}} - - {{- template "title" . -}} - -{{- end -}} -{{ end }} - -{{ define "book-get-root-section" }} - - {{ $bookSection := default "docs" .Site.Params.BookSection }} - {{ if eq $bookSection "*" }} - {{ .Scratch.Set "BookSections" .Site.Sections }} - {{ else }} - {{ $bookSections := where .Site.Sections "Section" $bookSection }} - {{ .Scratch.Set "BookSections" $bookSections }} - {{ end }} -{{ end }} \ No newline at end of file -- cgit v1.2.3