From 5a3f273b60f5b8a3207bc5b39684d36543e58c5a Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 22 Oct 2020 09:38:15 +0300 Subject: Move `href` attribute first (#31835) --- site/content/docs/5.0/getting-started/download.md | 2 +- site/content/docs/5.0/getting-started/introduction.md | 4 ++-- site/layouts/partials/home/masthead-followup.html | 2 +- site/layouts/partials/stylesheet.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'site') diff --git a/site/content/docs/5.0/getting-started/download.md b/site/content/docs/5.0/getting-started/download.md index 5917997df..1b62d9835 100644 --- a/site/content/docs/5.0/getting-started/download.md +++ b/site/content/docs/5.0/getting-started/download.md @@ -39,7 +39,7 @@ If you want to download and examine our [examples]({{< docsref "/examples" >}}), Skip the download with [jsDelivr](https://www.jsdelivr.com/) to deliver cached version of Bootstrap's compiled CSS and JS to your project. ```html -}}" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous"> +}}" rel="stylesheet" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous"> ``` diff --git a/site/content/docs/5.0/getting-started/introduction.md b/site/content/docs/5.0/getting-started/introduction.md index 1a2c84b9a..2415c900a 100644 --- a/site/content/docs/5.0/getting-started/introduction.md +++ b/site/content/docs/5.0/getting-started/introduction.md @@ -19,7 +19,7 @@ Looking to quickly add Bootstrap to your project? Use jsDelivr, a free open sour Copy-paste the stylesheet `` into your `` before all other stylesheets to load our CSS. ```html -}}" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous"> +}}" rel="stylesheet" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous"> ``` ### JS @@ -66,7 +66,7 @@ Be sure to have your pages set up with the latest design and development standar - }}" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous"> + }}" rel="stylesheet" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous"> Hello, world! diff --git a/site/layouts/partials/home/masthead-followup.html b/site/layouts/partials/home/masthead-followup.html index 0d70afa11..24defc0fd 100644 --- a/site/layouts/partials/home/masthead-followup.html +++ b/site/layouts/partials/home/masthead-followup.html @@ -33,7 +33,7 @@
{{ highlight (printf (` -`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }} +`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }} {{ highlight (printf (` `) .Site.Params.cdn.js_bundle (.Site.Params.cdn.js_bundle_hash | safeHTMLAttr)) "html" "" }}
diff --git a/site/layouts/partials/stylesheet.html b/site/layouts/partials/stylesheet.html index 479c5e408..ee9c7c54c 100644 --- a/site/layouts/partials/stylesheet.html +++ b/site/layouts/partials/stylesheet.html @@ -16,5 +16,5 @@ {{- $style := resources.Get "scss/docs.scss" | toCSS $sassOptions | postCSS $postcssOptions }} - + {{- end }} -- cgit v1.2.3