mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Move href
attribute first (#31835)
This commit is contained in:
parent
afc0e83ecc
commit
5a3f273b60
@ -6,7 +6,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<!-- Bootstrap CSS -->
|
<!-- Bootstrap CSS -->
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
|
||||||
<title>Hello, world!</title>
|
<title>Hello, world!</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<title>Alert</title>
|
<title>Alert</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<title>Button</title>
|
<title>Button</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<title>Carousel</title>
|
<title>Carousel</title>
|
||||||
<style>
|
<style>
|
||||||
.carousel-item {
|
.carousel-item {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<title>Collapse</title>
|
<title>Collapse</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<title>Dropdown</title>
|
<title>Dropdown</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<title>Modal</title>
|
<title>Modal</title>
|
||||||
<style>
|
<style>
|
||||||
#tall {
|
#tall {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<title>Popover</title>
|
<title>Popover</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<title>Scrollspy</title>
|
<title>Scrollspy</title>
|
||||||
<style>
|
<style>
|
||||||
body { padding-top: 70px; }
|
body { padding-top: 70px; }
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<title>Tab</title>
|
<title>Tab</title>
|
||||||
<style>
|
<style>
|
||||||
h4 {
|
h4 {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<title>Toast</title>
|
<title>Toast</title>
|
||||||
<style>
|
<style>
|
||||||
.notifications {
|
.notifications {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<title>Tooltip</title>
|
<title>Tooltip</title>
|
||||||
<style>
|
<style>
|
||||||
#target {
|
#target {
|
||||||
|
@ -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.
|
Skip the download with [jsDelivr](https://www.jsdelivr.com/) to deliver cached version of Bootstrap's compiled CSS and JS to your project.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" href="{{< param "cdn.css" >}}" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous">
|
<link href="{{< param "cdn.css" >}}" rel="stylesheet" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous">
|
||||||
<script src="{{< param "cdn.js_bundle" >}}" integrity="{{< param "cdn.js_bundle_hash" >}}" crossorigin="anonymous"></script>
|
<script src="{{< param "cdn.js_bundle" >}}" integrity="{{< param "cdn.js_bundle_hash" >}}" crossorigin="anonymous"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ Looking to quickly add Bootstrap to your project? Use jsDelivr, a free open sour
|
|||||||
Copy-paste the stylesheet `<link>` into your `<head>` before all other stylesheets to load our CSS.
|
Copy-paste the stylesheet `<link>` into your `<head>` before all other stylesheets to load our CSS.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" href="{{< param "cdn.css" >}}" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous">
|
<link href="{{< param "cdn.css" >}}" rel="stylesheet" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous">
|
||||||
```
|
```
|
||||||
|
|
||||||
### JS
|
### JS
|
||||||
@ -66,7 +66,7 @@ Be sure to have your pages set up with the latest design and development standar
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<!-- Bootstrap CSS -->
|
<!-- Bootstrap CSS -->
|
||||||
<link rel="stylesheet" href="{{< param "cdn.css" >}}" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous">
|
<link href="{{< param "cdn.css" >}}" rel="stylesheet" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous">
|
||||||
|
|
||||||
<title>Hello, world!</title>
|
<title>Hello, world!</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
</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 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 -->
|
{{ 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>
|
||||||
|
@ -16,5 +16,5 @@
|
|||||||
|
|
||||||
{{- $style := resources.Get "scss/docs.scss" | toCSS $sassOptions | postCSS $postcssOptions }}
|
{{- $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 }}
|
{{- end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user