From ca37d7488c726452739da68f9a096e0d8467d264 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Wed, 12 Sep 2018 14:21:46 +0200 Subject: Fill theme.toml, refactor injection partials --- layouts/docs/baseof.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'layouts/docs/baseof.html') diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 9f7f942..8509b14 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -1,25 +1,26 @@ - {{ partial "book/html-head" . }} - {{ block "title" . }}{{ .Site.Title }}{{ end }} + {{ partial "docs/html-head" . }} + {{ partial "docs/inject/head" . }} + {{ block "title" . }} {{- .Site.Title -}} {{ end }}
- {{ partial "book/nav" . }} + {{ partial "docs/nav" . }}
- {{ block "main" . }}{{ end }} + {{ block "main" . }} {{- .Content -}} {{ end }}
{{ if and (default true .Site.Params.BookShowTOC) (.Page.TableOfContents) }}
- {{ partial "book/toc" . }} + {{ partial "docs/toc" . }}
{{ end }} @@ -27,5 +28,6 @@
+ {{ partial "docs/inject/body" . }} \ No newline at end of file -- cgit v1.2.3