mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 00:59:51 +02:00
docs: backport layouts updates from the main branch
This commit is contained in:
@@ -18,6 +18,6 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "ads.html" . }}
|
||||
{{ partial "ads" . }}
|
||||
</div>
|
||||
</main>
|
||||
|
@@ -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" -}}
|
||||
|
@@ -11,7 +11,7 @@
|
||||
{{- end -}}
|
||||
|
||||
{{- if (ne .Page.Layout "examples") }}
|
||||
{{- $targetDocsCssPath := printf "/docs/%s/assets/css/docs.css" .Site.Params.docs_version -}}
|
||||
{{- $targetDocsCssPath := path.Join "/docs" .Site.Params.docs_version "assets/css/docs.css" -}}
|
||||
{{- $sassOptions := dict "targetPath" $targetDocsCssPath "outputStyle" "expanded" "precision" 6 -}}
|
||||
{{- $postcssOptions := dict "use" "autoprefixer" "noMap" true -}}
|
||||
|
||||
|
Reference in New Issue
Block a user