diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-10-22 09:38:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 09:38:15 +0300 |
commit | 5a3f273b60f5b8a3207bc5b39684d36543e58c5a (patch) | |
tree | fd96144e6d3e7c9d0a684e39a09b874e24d22a5b /site/layouts | |
parent | afc0e83ecc00e748a617861be3318522069bd3eb (diff) |
Move `href` attribute first (#31835)
Diffstat (limited to 'site/layouts')
-rw-r--r-- | site/layouts/partials/home/masthead-followup.html | 2 | ||||
-rw-r--r-- | site/layouts/partials/stylesheet.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/site/layouts/partials/home/masthead-followup.html b/site/layouts/partials/home/masthead-followup.html index 0d70afa119..24defc0fdf 100644 --- a/site/layouts/partials/home/masthead-followup.html +++ b/site/layouts/partials/home/masthead-followup.html @@ -33,7 +33,7 @@ </div> <div class="col-md-7 pl-md-5"> {{ highlight (printf (`<!-- CSS only --> -<link rel="stylesheet" href="%s" 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 --> <script src="%s" integrity=%q crossorigin="anonymous"></script>`) .Site.Params.cdn.js_bundle (.Site.Params.cdn.js_bundle_hash | safeHTMLAttr)) "html" "" }} </div> diff --git a/site/layouts/partials/stylesheet.html b/site/layouts/partials/stylesheet.html index 479c5e408c..ee9c7c54c6 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 }} -<link rel="stylesheet" href="{{ $style.Permalink | relURL }}"> +<link href="{{ $style.Permalink | relURL }}" rel="stylesheet"> {{- end }} |