-
-
{{ .Title }}
- {{ .Content }}
-
+
+
-
-
-
+
+
{{ end }}
diff --git a/layouts/_default/faq.html b/layouts/_default/faq.html
index 8ac8ce4c..4df8085c 100644
--- a/layouts/_default/faq.html
+++ b/layouts/_default/faq.html
@@ -1,19 +1,17 @@
-{{ define "main" }}
-
-
-
-
-
-
-
{{ .Title }}
-
-
- {{.Content}}
-
-
-
-
-
-
-
-{{ end }}
\ No newline at end of file
+{{ define "main" }}
+
+
+
+
+
+
{{ .Title }}
+
+
+ {{ .Content }}
+
+
+
+
+
+
+{{ end }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 1d428061..4892edb1 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,5 +1,3 @@
-{{ define "main" }}
-
-{{ partial "default.html" . }}
-
-{{ end }}
\ No newline at end of file
+{{ define "main" }}
+ {{ partial "default.html" . }}
+{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 1d428061..4892edb1 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,5 +1,3 @@
-{{ define "main" }}
-
-{{ partial "default.html" . }}
-
-{{ end }}
\ No newline at end of file
+{{ define "main" }}
+ {{ partial "default.html" . }}
+{{ end }}
diff --git a/layouts/index.html b/layouts/index.html
index 0faebe59..6597907a 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,61 +1,65 @@
-{{ define "main" }}
-
-{{ if .Content }}
-
-{{ end }}
-
-
-
-
-
-
-
{{ i18n "topics_title" | markdownify }}
-
-
- {{ range (where .Site.Pages "Type" "docs") }}
-
- {{ end }}
-
-
-
-
-
-{{ if .Params.cta.enable }}
-{{ with .Params.cta }}
-
-
-
-
-
-
-
{{ .title | markdownify }}
-
{{ .content | markdownify }}
- {{ if .button.enable }}
- {{ with .button }}
-
{{ .label }}
- {{ end }}
- {{ end }}
-
-
-
-
-
-
-{{ end }}
-{{ end }}
-
-{{ end }}
\ No newline at end of file
+{{ define "main" }}
+ {{ if .Content }}
+
+ {{ end }}
+
+
+
+
+
+
+
+
{{ i18n "topics_title" | markdownify }}
+
+
+ {{ range (where .Site.Pages "Type" "docs") }}
+
+ {{ end }}
+
+
+
+
+
+ {{ if .Params.cta.enable }}
+ {{ with .Params.cta }}
+
+
+
+
+
+
+
{{ .title | markdownify }}
+
{{ .content | markdownify }}
+ {{ if .button.enable }}
+ {{ with .button }}
+
+ {{ .label }}
+
+ {{ end }}
+ {{ end }}
+
+
+
+
+
+
+ {{ end }}
+ {{ end }}
+
+{{ end }}
diff --git a/layouts/partials/default.html b/layouts/partials/default.html
index 47452f48..89d06af6 100644
--- a/layouts/partials/default.html
+++ b/layouts/partials/default.html
@@ -4,26 +4,45 @@
@@ -32,43 +51,81 @@
{{ .Title }}
{{ if .Content }}
-
{{.Content}}
+
{{ .Content }}
{{ else }}
-
-
- {{ template "section-tree-nav" dict "sect" . "currentnode"
- $currentNode }}
-
-
+
+
+ {{ template "section-tree-nav" dict "sect" . "currentnode"
+ $currentNode
+ }}
+
+
{{ end }}
- Updated on {{ .Lastmod.Format "02 Jan 2006" }}
+ Updated on
+ {{ .Lastmod.Format "02 Jan 2006" }}
@@ -78,24 +135,43 @@
{{ .Title }}
-{{ define "section-tree-nav" }} {{ $showvisitedlinks := .showvisitedlinks }} {{
-$currentNode := .currentnode }} {{with .sect}} {{safeHTML .Params.head}} {{
-$fileUniqueID := "" }} {{ with .File }}{{ $fileUniqueID = .UniqueID }}{{ end }}
-{{ $currentNodeFileUniqueID := "" }} {{ with $currentNode.File }}{{
-$currentNodeFileUniqueID = .UniqueID }}{{ end }}
-
-
- {{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML
- .Params.Post}}
-
- {{ $numberOfPages := (add (len .Pages) (len .Sections)) }} {{ if ne
- $numberOfPages 0 }}
-
- {{ range .Pages.ByWeight }} {{ if and .Params.hidden (not $.showhidden) }}
- {{else}} {{ template "section-tree-nav" dict "sect" . "currentnode"
- $currentNode }} {{end}} {{end}}
-
+{{ define "section-tree-nav" }}
+ {{ $showvisitedlinks := .showvisitedlinks }}
+ {{ $currentNode := .currentnode }}
+ {{ with .sect }}
+ {{ safeHTML .Params.head }}
+ {{ $fileUniqueID := "" }}
+ {{ with .File }}{{ $fileUniqueID = .UniqueID }}{{ end }}
+ {{ $currentNodeFileUniqueID := "" }}
+ {{ with $currentNode.File }}
+ {{ $currentNodeFileUniqueID = .UniqueID }}
+ {{ end }}
+
+
+ {{ safeHTML .Params.Pre }}{{ or .Params.menuTitle .LinkTitle .Title }}{{ safeHTML
+ .Params.Post
+ }}
+
+ {{ $numberOfPages := (add (len .Pages) (len .Sections)) }}
+ {{ if ne
+ $numberOfPages 0
+ }}
+
+ {{ range .Pages.ByWeight }}
+ {{ if and .Params.hidden (not $.showhidden) }}
+ {{ else }}
+ {{ template "section-tree-nav" dict "sect" . "currentnode"
+ $currentNode
+ }}
+ {{ end }}
+ {{ end }}
+
+ {{ end }}
+
{{ end }}
-
-{{ end }} {{ end }}
\ No newline at end of file
+{{ end }}
diff --git a/layouts/partials/essentials/footer.html b/layouts/partials/essentials/footer.html
index 08cc1f7c..455d995c 100755
--- a/layouts/partials/essentials/footer.html
+++ b/layouts/partials/essentials/footer.html
@@ -6,23 +6,32 @@
{{ site.Params.copyright | markdownify }}
{{ if site.Params.theme_copyright }}
- | Theme by
- GetHugoThemes
+ | Theme by
+
+ GetHugoThemes
+
{{ end }}