1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 17:11:48 +02:00

docs: backport layouts updates from the main branch

This commit is contained in:
XhmikosR
2021-09-08 09:16:38 +03:00
parent 9cdfbc06ce
commit b0cd2078f7
9 changed files with 34 additions and 30 deletions

View File

@@ -13,7 +13,7 @@
{{- $vendor := resources.Match "js/vendor/*.js" -}}
{{- $js := resources.Match "js/*.js" -}}
{{- $targetDocsJSPath := printf "/docs/%s/assets/js/docs.js" .Site.Params.docs_version -}}
{{- $targetDocsJSPath := path.Join "/docs" .Site.Params.docs_version "assets/js/docs.js" -}}
{{- $docsJs := append $js $vendor | resources.Concat $targetDocsJSPath -}}
{{- if eq hugo.Environment "production" -}}