From 568553394d0a8b34668a75c9839a0f1f426469b2 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens <dimitri@ouroboros.rocks> Date: Sun, 6 Oct 2019 21:10:46 +0200 Subject: theme: Switch to docsy theme --- themes/docsy/layouts/docs/baseof.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 themes/docsy/layouts/docs/baseof.html (limited to 'themes/docsy/layouts/docs/baseof.html') diff --git a/themes/docsy/layouts/docs/baseof.html b/themes/docsy/layouts/docs/baseof.html new file mode 100644 index 0000000..108ea7a --- /dev/null +++ b/themes/docsy/layouts/docs/baseof.html @@ -0,0 +1,30 @@ +<!doctype html> +<html lang="{{ .Site.Language.Lang }}" class="no-js"> + <head> + {{ partial "head.html" . }} + <title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title> + </head> + <body class="td-{{ .Kind }}"> + <header> + {{ partial "navbar.html" . }} + </header> + <div class="container-fluid td-outer"> + <div class="td-main"> + <div class="row flex-xl-nowrap"> + <div class="col-12 col-md-3 col-xl-2 td-sidebar d-print-none"> + {{ partial "sidebar.html" . }} + </div> + <div class="d-none d-xl-block col-xl-2 td-toc d-print-none"> + {{ partial "toc.html" . }} + </div> + <main class="col-12 col-md-9 col-xl-8 pl-md-5" role="main"> + {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} + {{ block "main" . }}{{ end }} + </main> + </div> + </div> + {{ partial "footer.html" . }} + </div> + {{ partial "scripts.html" . }} + </body> +</html> \ No newline at end of file -- cgit v1.2.3