2018-09-05 16:22:04 +02:00
|
|
|
<!DOCTYPE html>
|
2021-02-03 09:42:32 +01:00
|
|
|
<html lang="{{ .Site.Language.Lang }}" dir="{{ .Site.Language.LanguageDirection | default "ltr" }}">
|
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>
|
2021-02-03 09:42:32 +01:00
|
|
|
<body dir="{{ .Site.Language.LanguageDirection | default "ltr" }}">
|
2020-07-07 23:06:21 +02:00
|
|
|
<input type="checkbox" class="hidden toggle" id="menu-control" />
|
|
|
|
<input type="checkbox" class="hidden toggle" id="toc-control" />
|
2020-01-24 00:07:47 +01:00
|
|
|
<main class="container flex">
|
|
|
|
<aside class="book-menu">
|
2021-01-26 22:20:17 +01:00
|
|
|
<div class="book-menu-content">
|
|
|
|
{{ template "menu" . }} <!-- Left menu Content -->
|
|
|
|
</div>
|
2020-01-24 00:07:47 +01:00
|
|
|
</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 -->
|
2020-03-07 18:51:24 +01:00
|
|
|
{{ partial "docs/inject/footer" . }}
|
2020-01-24 00:07:47 +01:00
|
|
|
</footer>
|
2020-03-01 00:52:00 +01:00
|
|
|
|
|
|
|
{{ template "comments" . }} <!-- Comments block -->
|
2020-02-27 22:58:15 +01:00
|
|
|
|
|
|
|
<label for="menu-control" class="hidden book-menu-overlay"></label>
|
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">
|
2021-01-26 22:20:17 +01:00
|
|
|
<div class="book-toc-content">
|
2021-01-26 18:45:08 +01:00
|
|
|
{{ template "toc" . }} <!-- Table of Contents -->
|
2021-01-26 22:20:17 +01:00
|
|
|
</div>
|
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-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) }}
|
2020-07-07 23:06:21 +02:00
|
|
|
<aside class="hidden clearfix">
|
|
|
|
{{ template "toc" . }}
|
|
|
|
</aside>
|
2020-01-24 00:07:47 +01: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 21:24:00 +01:00
|
|
|
<article class="markdown">
|
|
|
|
{{- .Content -}}
|
|
|
|
</article>
|
2020-01-24 00:07:47 +01:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "toc" }}
|
2020-02-29 21:24:00 +01:00
|
|
|
{{ partial "docs/toc" . }}
|
2020-01-24 00:07:47 +01:00
|
|
|
{{ end }}
|