Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
e864f657
Unverified
Commit
e864f657
authored
5 years ago
by
XhmikosR
Committed by
GitHub
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix docs search. (#29067)
parent
b81a3e8b
2 merge requests
!31948
Examples/Floating-labels: fix bad behavior with autofill
,
!30064
test
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site/layouts/partials/scripts.html
+1
-1
site/layouts/partials/scripts.html
site/layouts/partials/stylesheet.html
+1
-3
site/layouts/partials/stylesheet.html
with
2 additions
and
4 deletions
+2
-4
site/layouts/partials/scripts.html
+
1
-
1
View file @
e864f657
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<script
src=
"/docs/{{ .Site.Params.docs_version }}/dist/js/bootstrap.bundle.js"
></script>
<script
src=
"/docs/{{ .Site.Params.docs_version }}/dist/js/bootstrap.bundle.js"
></script>
{{- end }}
{{- end }}
{{ if eq .Page.Layout "docs" -}}
{{ if
(or (
eq .Page.Layout "docs"
) (eq .Page.Layout "single"))
-}}
<script
src=
"https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"
></script>
{{- end }}
{{- end }}
...
...
This diff is collapsed.
Click to expand it.
site/layouts/partials/stylesheet.html
+
1
-
3
View file @
e864f657
...
@@ -5,12 +5,10 @@
...
@@ -5,12 +5,10 @@
<link
href=
"/docs/{{ .Site.Params.docs_version }}/dist/css/bootstrap.css"
rel=
"stylesheet"
>
<link
href=
"/docs/{{ .Site.Params.docs_version }}/dist/css/bootstrap.css"
rel=
"stylesheet"
>
{{- end }}
{{- end }}
{{ if (or (eq .Page.Layout "docs") (
n
e .Page.Layout "
examp
le
s
")) -}}
{{ if (or (eq .Page.Layout "docs") (e
q
.Page.Layout "
sing
le")) -}}
{{- "
<!-- Documentation extras -->
" | safeHTML }}
{{- "
<!-- Documentation extras -->
" | safeHTML }}
{{ if eq .Page.Layout "docs" -}}
<link
href=
"https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"
rel=
"stylesheet"
>
<link
href=
"https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"
rel=
"stylesheet"
>
{{- end -}}
{{- end -}}
{{- if (ne .Page.Layout "examples") }}
{{- if (ne .Page.Layout "examples") }}
<link
href=
"/docs/{{ .Site.Params.docs_version }}/assets/css/docs.min.css"
rel=
"stylesheet"
>
<link
href=
"/docs/{{ .Site.Params.docs_version }}/assets/css/docs.min.css"
rel=
"stylesheet"
>
{{- end -}}
{{- end }}
{{- end }}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets