summaryrefslogtreecommitdiff
path: root/layouts/docs/baseof.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-09-11 16:51:27 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-09-11 16:51:27 +0200
commit628a4df0df81347c74a88e4c110066c9dc6017d1 (patch)
tree474ba777084cf5593c79330b71539f2a4fa7733f /layouts/docs/baseof.html
parent43974d0908a341ef8dd5d100a63563784fdbf70c (diff)
Refactor partials, layout and sass files
Diffstat (limited to 'layouts/docs/baseof.html')
-rw-r--r--layouts/docs/baseof.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html
index 7f05ac8..9f7f942 100644
--- a/layouts/docs/baseof.html
+++ b/layouts/docs/baseof.html
@@ -1,25 +1,31 @@
<!DOCTYPE html>
<html>
<head>
- {{ partial "book-html-head" . }}
- <title>{{ .Site.Title }}</title>
+ {{ partial "book/html-head" . }}
+ <title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
</head>
<body>
<div class="pure-g">
+
<div class="pure-u book-nav">
- {{ partial "book-nav" . }}
+ {{ partial "book/nav" . }}
</div>
<div class="pure-u book-content">
<div class="pure-g">
+
<div class="pure-u book-page markdown">
{{ block "main" . }}{{ end }}
</div>
+ {{ if and (default true .Site.Params.BookShowTOC) (.Page.TableOfContents) }}
<div class="pure-u book-toc">
- {{ partial "book-toc" . }}
+ {{ partial "book/toc" . }}
</div>
+ {{ end }}
+
</div>
</div>
+
</div>
</body>
</html> \ No newline at end of file