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