diff --git a/site/layouts/_default/baseof.html b/site/layouts/_default/baseof.html deleted file mode 100644 index 713ab2864ad0..000000000000 --- a/site/layouts/_default/baseof.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - {{ partial "header" . }} - - {{ block "body_override" . }}{{ end }} - {{ partial "skippy" . }} - - {{ partial "docs-navbar" . }} - - {{ block "main" . }} - {{ end }} - - {{ partial "footer" . }} - {{ partial "scripts" . }} - - {{ block "footer" . }} - {{ end }} - - diff --git a/site/layouts/_default/docs.html b/site/layouts/_default/docs.html index 34ac933f2b11..c2e3776669f9 100644 --- a/site/layouts/_default/docs.html +++ b/site/layouts/_default/docs.html @@ -1,25 +1,37 @@ -{{ define "main" }} -
-
-
- {{ partial "docs-sidebar" . }} -
+ + + + {{ partial "header" . }} + + + {{ partial "skippy" . }} - {{ if (eq .Page.Params.toc true) }} - - {{ end }} + {{ partial "docs-navbar" . }} -
-
- View on GitHub -

{{ .Title | markdownify }}

+
+
+
+ {{ partial "docs-sidebar" . }}
-

{{ .Page.Params.Description | markdownify }}

- {{ partial "ads" . }} - {{ .Content }} -
+ + {{ if (eq .Page.Params.toc true) }} + + {{ end }} + +
+
+ View on GitHub +

{{ .Title | markdownify }}

+
+

{{ .Page.Params.Description | markdownify }}

+ {{ partial "ads" . }} + {{ .Content }} +
+
- -{{ end }} + + {{ partial "scripts" . }} + + diff --git a/site/layouts/_default/home.html b/site/layouts/_default/home.html index 6126e4d26558..c03de11abbed 100644 --- a/site/layouts/_default/home.html +++ b/site/layouts/_default/home.html @@ -1,6 +1,19 @@ -{{ define "main" }} - {{ partial "home/masthead" . }} - {{ partial "home/masthead-followup" . }} + + + + {{ partial "header" . }} + + + {{ partial "skippy" . }} - {{ .Content }} -{{ end }} + {{ partial "docs-navbar" . }} + + {{ partial "home/masthead" . }} + {{ partial "home/masthead-followup" . }} + + {{ .Content }} + + {{ partial "footer" . }} + {{ partial "scripts" . }} + + diff --git a/site/layouts/_default/redirect.html b/site/layouts/_default/redirect.html index 63ded089e872..f675d0c6cf0f 100644 --- a/site/layouts/_default/redirect.html +++ b/site/layouts/_default/redirect.html @@ -1 +1,11 @@ -{{ partial "redirect" (.Page.Params.redirect | absURL) }} + + + + + + {{ .Page.Params.redirect | absURL }} + + + + + diff --git a/site/layouts/_default/single.html b/site/layouts/_default/single.html index 13f7ddd2e780..58b55331c112 100644 --- a/site/layouts/_default/single.html +++ b/site/layouts/_default/single.html @@ -1,39 +1,52 @@ -{{ define "main" }} -
-
-

{{ .Title | markdownify }}

-

{{ .Page.Params.Description | markdownify }}

- {{ if eq .Title "Examples" }} -
- Download examples - Download source code + + + + {{ partial "header" . }} + + + {{ partial "skippy" . }} + + {{ partial "docs-navbar" . }} + +
+
+

{{ .Title | markdownify }}

+

{{ .Page.Params.Description | markdownify }}

+ {{ if eq .Title "Examples" }} + + {{- end -}}
- {{- end -}} -
- {{ partial "ads" . }} -
+ {{ partial "ads" . }} + -
- {{ .Content }} +
+ {{ .Content }} - {{ if eq .Title "Examples" }} -
-
-
-
- {{ partial "icons/droplet-fill.svg" (dict "width" "32" "height" "32") }} + {{ if eq .Title "Examples" }} +
+
+
+
+ {{ partial "icons/droplet-fill.svg" (dict "width" "32" "height" "32") }} +
+

Go further with Bootstrap Themes

+

+ Need something more than these examples? Take Bootstrap to the next level with premium themes from the official Bootstrap Themes marketplace. They’re built as their own extended frameworks, rich with new components and plugins, documentation, and powerful build tools. +

+ Browse themes
-

Go further with Bootstrap Themes

-

- Need something more than these examples? Take Bootstrap to the next level with premium themes from the official Bootstrap Themes marketplace. They’re built as their own extended frameworks, rich with new components and plugins, documentation, and powerful build tools. -

- Browse themes + Bootstrap Themes
- Bootstrap Themes -
- {{ end }} -
-{{ end }} + {{ end }} +
+ + {{ partial "footer" . }} + {{ partial "scripts" . }} + + diff --git a/site/layouts/alias.html b/site/layouts/alias.html index 35765c490767..a6c397a7f495 100644 --- a/site/layouts/alias.html +++ b/site/layouts/alias.html @@ -1 +1,11 @@ -{{ partial "redirect" .Permalink }} + + + + + + {{ .Permalink }} + + + + + diff --git a/site/layouts/partials/redirect.html b/site/layouts/partials/redirect.html deleted file mode 100644 index cee885bf8c34..000000000000 --- a/site/layouts/partials/redirect.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - {{ . }} - - - - -