diff --git a/site/layouts/_default/single.html b/site/layouts/_default/single.html index 649e713351..3175c55c08 100644 --- a/site/layouts/_default/single.html +++ b/site/layouts/_default/single.html @@ -5,7 +5,7 @@

{{ .Title | markdownify }}

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

- {{ if eq .Title "Examples" }} + {{ if eq .Title "Examples" -}}
@@ -15,7 +15,7 @@ Download source code
- {{ end }} + {{- end }}
{{ partial "ads" . }} @@ -41,10 +41,14 @@

Browse themes
- Bootstrap Themes + Bootstrap Themes {{ end }} diff --git a/site/layouts/partials/docs-versions.html b/site/layouts/partials/docs-versions.html index 637add3967..a5af0d7350 100644 --- a/site/layouts/partials/docs-versions.html +++ b/site/layouts/partials/docs-versions.html @@ -6,9 +6,9 @@ {{- $versions_link := "" -}} {{- if and (eq .Layout "docs") (eq $page_version .Site.Params.docs_version) -}} {{- $versions_link = printf "%s/%s/" $group_slug $page_slug -}} -{{- else if (eq .Layout "single") }} +{{- else if (eq .Layout "single") -}} {{- $versions_link = printf "%s/" $page_slug -}} -{{- end }} +{{- end -}} {{- $added_in_51 := eq (string .Page.Params.added) "5.1" -}} {{- $added_in_52 := eq (string .Page.Params.added) "5.2" -}} diff --git a/site/layouts/partials/favicons.html b/site/layouts/partials/favicons.html index 58bdb8b8b3..9233ff624a 100644 --- a/site/layouts/partials/favicons.html +++ b/site/layouts/partials/favicons.html @@ -1,4 +1,3 @@ -{{ "" | safeHTML }}