2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03: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
+1 -1
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" -}}