1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 08:10:47 +02:00

Use Hugo mounts for our docs vendor JS files.

This commit is contained in:
XhmikosR
2019-08-17 19:38:24 +03:00
parent 268da84f16
commit 6b071116f3
6 changed files with 528 additions and 18 deletions

View File

@@ -5,7 +5,7 @@
{{- end }}
{{ if eq .Page.Layout "docs" -}}
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script src="/docs/{{ .Site.Params.docs_version }}/assets/js/vendor/docsearch.min.js"></script>
{{- end }}
{{- $vendor := resources.Match "js/vendor/*.js" -}}