2018-09-05 16:22:04 +02:00
|
|
|
<!DOCTYPE html>
|
2019-04-23 23:02:06 +02:00
|
|
|
<html lang="{{ .Site.Language.Lang }}">
|
2018-11-07 12:54:18 +01:00
|
|
|
|
2018-09-05 16:22:04 +02:00
|
|
|
<head>
|
2018-09-12 14:21:46 +02:00
|
|
|
{{ partial "docs/html-head" . }}
|
|
|
|
{{ partial "docs/inject/head" . }}
|
2018-09-05 16:22:04 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2019-09-01 03:38:16 +02:00
|
|
|
<input type="checkbox" class="hidden" id="menu-control" />
|
2020-01-24 00:07:47 +01:00
|
|
|
<main class="container flex">
|
|
|
|
<aside class="book-menu">
|
|
|
|
{{ template "menu" . }} <!-- Left menu Content -->
|
|
|
|
</aside>
|
2018-09-26 00:12:56 +02:00
|
|
|
|
2018-11-24 15:10:43 +01:00
|
|
|
<div class="book-page">
|
2020-01-24 00:07:47 +01:00
|
|
|
<header class="book-header">
|
|
|
|
{{ template "header" . }} <!-- Mobile layout header -->
|
|
|
|
</header>
|
|
|
|
|
2020-02-23 13:29:58 +01:00
|
|
|
{{ partial "docs/inject/content-before" . }}
|
2020-01-24 00:07:47 +01:00
|
|
|
{{ template "main" . }} <!-- Page Content -->
|
2020-02-23 13:29:58 +01:00
|
|
|
{{ partial "docs/inject/content-after" . }}
|
2020-01-24 00:07:47 +01:00
|
|
|
|
|
|
|
<footer class="book-footer">
|
|
|
|
{{ template "footer" . }} <!-- Footer under page content -->
|
|
|
|
{{ template "comments" . }} <!-- Comments block -->
|
|
|
|
</footer>
|
2019-04-12 23:06:40 +02:00
|
|
|
{{ partial "docs/inject/footer" . }}
|
2018-09-05 16:22:04 +02:00
|
|
|
</div>
|
2018-09-11 16:51:27 +02:00
|
|
|
|
2020-01-24 00:07:47 +01:00
|
|
|
{{ if default true (default .Site.Params.BookToC .Params.BookToC) }}
|
|
|
|
<aside class="book-toc">
|
|
|
|
{{ template "toc" . }} <!-- Table of Contents -->
|
2020-01-17 20:32:36 +01:00
|
|
|
</aside>
|
2020-01-24 00:07:47 +01:00
|
|
|
{{ end }}
|
2018-09-30 01:22:39 +02:00
|
|
|
</main>
|
2019-08-29 06:01:36 +02:00
|
|
|
|
2018-11-25 13:34:00 +01:00
|
|
|
{{ partial "docs/inject/body" . }}
|
2018-09-05 16:22:04 +02:00
|
|
|
</body>
|
2018-11-07 12:54:18 +01:00
|
|
|
|
2018-11-25 13:30:25 +01:00
|
|
|
</html>
|
2020-01-24 00:07:47 +01:00
|
|
|
|
|
|
|
{{ define "menu" }}
|
|
|
|
{{ partial "docs/menu" . }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "header" }}
|
|
|
|
{{ partial "docs/header" . }}
|
|
|
|
|
|
|
|
{{ if default true (default .Site.Params.BookToC .Params.BookToC) }}
|
|
|
|
<input type="checkbox" class="hidden" id="toc-control" />
|
|
|
|
<aside class="hidden clearfix">
|
|
|
|
{{ template "toc" . }}
|
|
|
|
</aside>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "footer" }}
|
|
|
|
{{ partial "docs/footer" . }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "comments" }}
|
|
|
|
{{ if and .Content (default true (default .Site.Params.BookComments .Params.BookComments)) }}
|
|
|
|
<div class="book-comments">
|
|
|
|
{{- partial "docs/comments" . -}}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
|
|
|
{{ .Content }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "toc" }}
|
|
|
|
{{ .TableOfContents }}
|
|
|
|
{{ end }}
|