diff --git a/documentation/themes/beastie/layouts/books/list.html b/documentation/themes/beastie/layouts/books/list.html index 08672d3097..ccc0152d0b 100644 --- a/documentation/themes/beastie/layouts/books/list.html +++ b/documentation/themes/beastie/layouts/books/list.html @@ -1,149 +1,149 @@ {{ define "main" }}
- {{ if eq .Params.showBookMenu true }} + {{ if or (eq (string .Params.showBookMenu) "true") (eq .Params.showBookMenu true) }} {{ end }}
- {{ if eq .Params.showBookMenu true }} + {{ if or (eq (string .Params.showBookMenu) "true") (eq .Params.showBookMenu true) }}
{{ end }}

{{ .Title }}

{{ $siteLanguage := string $.Site.Language }} {{ if ne $siteLanguage "en" }}

{{ i18n "stale-warning-message" }} {{ i18n "translation-instance" }}.

{{ end }} {{ if .Params.copyright }} {{ end}} {{ if isset .Params "trademarks" }} {{ partial "trademarks" .Params.trademarks }} {{ end }}

{{ i18n "toc" }}

{{ .TableOfContents }}
{{ if $.Site.Params.isOnline }} {{ if .Params.add_split_page_link }}
[ {{ i18n "split-html" }} / {{ i18n "single-html" }} ]
{{ end }} {{ if .Params.add_single_page_link }}
[ {{ i18n "split-html" }} / {{ i18n "single-html" }} ]
{{ end }} {{ end }}
{{ .Content }}
{{ if .GitInfo }}

{{ i18n "last-modified" }}: {{ .GitInfo.AuthorDate | time.Format ":date_long" }} {{ i18n "by" }} {{ .GitInfo.AuthorName }}

{{ end }}
{{ if .Params.prev }} {{ end }}
{{ if $.Site.Params.isOnline }} {{ i18n "home" }} {{ else }} {{ i18n "home" }} {{ end }}
{{ if .Params.next }} {{ end }}
{{ end }} diff --git a/documentation/themes/beastie/layouts/books/single.html b/documentation/themes/beastie/layouts/books/single.html index 08672d3097..ccc0152d0b 100644 --- a/documentation/themes/beastie/layouts/books/single.html +++ b/documentation/themes/beastie/layouts/books/single.html @@ -1,149 +1,149 @@ {{ define "main" }}
- {{ if eq .Params.showBookMenu true }} + {{ if or (eq (string .Params.showBookMenu) "true") (eq .Params.showBookMenu true) }} {{ end }}
- {{ if eq .Params.showBookMenu true }} + {{ if or (eq (string .Params.showBookMenu) "true") (eq .Params.showBookMenu true) }}
{{ end }}

{{ .Title }}

{{ $siteLanguage := string $.Site.Language }} {{ if ne $siteLanguage "en" }}

{{ i18n "stale-warning-message" }} {{ i18n "translation-instance" }}.

{{ end }} {{ if .Params.copyright }} {{ end}} {{ if isset .Params "trademarks" }} {{ partial "trademarks" .Params.trademarks }} {{ end }}

{{ i18n "toc" }}

{{ .TableOfContents }}
{{ if $.Site.Params.isOnline }} {{ if .Params.add_split_page_link }}
[ {{ i18n "split-html" }} / {{ i18n "single-html" }} ]
{{ end }} {{ if .Params.add_single_page_link }}
[ {{ i18n "split-html" }} / {{ i18n "single-html" }} ]
{{ end }} {{ end }}
{{ .Content }}
{{ if .GitInfo }}

{{ i18n "last-modified" }}: {{ .GitInfo.AuthorDate | time.Format ":date_long" }} {{ i18n "by" }} {{ .GitInfo.AuthorName }}

{{ end }}
{{ if .Params.prev }} {{ end }}
{{ if $.Site.Params.isOnline }} {{ i18n "home" }} {{ else }} {{ i18n "home" }} {{ end }}
{{ if .Params.next }} {{ end }}
{{ end }}