mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
masthead: add newlines in the snippets and reindent (#32129)
* Update masthead-followup.html * Update single.html
This commit is contained in:
parent
2ab98a43f0
commit
bdf534df59
2 changed files with 10 additions and 8 deletions
|
@ -41,8 +41,8 @@
|
||||||
</div>
|
</div>
|
||||||
<img class="d-block img-fluid mt-3 mx-auto" srcset="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes-collage.png,
|
<img class="d-block img-fluid mt-3 mx-auto" srcset="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes-collage.png,
|
||||||
/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes-collage@2x.png 2x"
|
/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes-collage@2x.png 2x"
|
||||||
src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes-collage.png"
|
src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes-collage.png"
|
||||||
alt="Bootstrap Themes" width="1150" height="320" loading="lazy">
|
alt="Bootstrap Themes" width="1150" height="320" loading="lazy">
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -33,9 +33,11 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-7 pl-md-5">
|
<div class="col-md-7 pl-md-5">
|
||||||
{{ highlight (printf (`<!-- CSS only -->
|
{{ highlight (printf (`<!-- CSS only -->
|
||||||
<link href="%s" rel="stylesheet" integrity=%q crossorigin="anonymous">`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }}
|
<link href="%s" rel="stylesheet" integrity=%q crossorigin="anonymous">
|
||||||
|
`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }}
|
||||||
{{ highlight (printf (`<!-- JavaScript Bundle with Popper.js -->
|
{{ highlight (printf (`<!-- JavaScript Bundle with Popper.js -->
|
||||||
<script src="%s" integrity=%q crossorigin="anonymous"></script>`) .Site.Params.cdn.js_bundle (.Site.Params.cdn.js_bundle_hash | safeHTMLAttr)) "html" "" }}
|
<script src="%s" integrity=%q crossorigin="anonymous"></script>
|
||||||
|
`) .Site.Params.cdn.js_bundle (.Site.Params.cdn.js_bundle_hash | safeHTMLAttr)) "html" "" }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -56,8 +58,8 @@
|
||||||
<div class="col-md-7 pl-md-5">
|
<div class="col-md-7 pl-md-5">
|
||||||
<img class="img-fluid mt-3 mx-auto" srcset="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-icons.png,
|
<img class="img-fluid mt-3 mx-auto" srcset="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-icons.png,
|
||||||
/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-icons@2x.png 2x"
|
/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-icons@2x.png 2x"
|
||||||
src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-icons.png"
|
src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-icons.png"
|
||||||
alt="Bootstrap Icons" width="700" height="425" loading="lazy">
|
alt="Bootstrap Icons" width="700" height="425" loading="lazy">
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -78,8 +80,8 @@
|
||||||
<div class="col-md-7 pl-md-5">
|
<div class="col-md-7 pl-md-5">
|
||||||
<img class="img-fluid mt-3 mx-auto" srcset="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes.png,
|
<img class="img-fluid mt-3 mx-auto" srcset="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes.png,
|
||||||
/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes@2x.png 2x"
|
/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes@2x.png 2x"
|
||||||
src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes.png"
|
src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes.png"
|
||||||
alt="Bootstrap Icons" width="700" height="500" loading="lazy">
|
alt="Bootstrap Icons" width="700" height="500" loading="lazy">
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue