mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Minor template cleanup
This commit is contained in:
@@ -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" -}}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
{{ "<!-- Favicons -->" | safeHTML }}
|
||||
<link rel="apple-touch-icon" href="/docs/{{ .Site.Params.docs_version }}/assets/img/favicons/apple-touch-icon.png" sizes="180x180">
|
||||
<link rel="icon" href="/docs/{{ .Site.Params.docs_version }}/assets/img/favicons/favicon-32x32.png" sizes="32x32" type="image/png">
|
||||
<link rel="icon" href="/docs/{{ .Site.Params.docs_version }}/assets/img/favicons/favicon-16x16.png" sizes="16x16" type="image/png">
|
||||
|
||||
Reference in New Issue
Block a user