mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-21 13:52:17 +01:00
0e920ce3f4
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
40 lines
1.6 KiB
HTML
40 lines
1.6 KiB
HTML
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta name="description" content="{{ page.description | default: site.description | smartify }}">
|
|
<meta name="author" content="{{ site.authors }}">
|
|
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
|
|
|
|
<title>
|
|
{%- if page.title -%}
|
|
{{ page.title | smartify }} · {{ site.title | smartify }}
|
|
{%- else -%}
|
|
{{ site.title | smartify }} · {{ site.description | smartify }}
|
|
{%- endif -%}
|
|
</title>
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
{% if site.github %}
|
|
<link href="{{ site.baseurl }}/docs/{{ site.docs_version }}/dist/css/bootstrap.min.css" rel="stylesheet" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
|
|
{% else %}
|
|
<link href="{{ site.baseurl }}/docs/{{ site.docs_version }}/dist/css/bootstrap.css" rel="stylesheet">
|
|
{% endif %}
|
|
|
|
<!-- Documentation extras -->
|
|
{% if page.layout == "docs" %}
|
|
<link href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" rel="stylesheet">
|
|
{% endif %}
|
|
<link href="{{ site.baseurl }}/docs/{{ site.docs_version }}/assets/css/docs.min.css" rel="stylesheet">
|
|
|
|
{% include favicons.html %}
|
|
|
|
{% include social.html %}
|
|
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
ga('create', 'UA-146052-10', 'getbootstrap.com');
|
|
ga('send', 'pageview');
|
|
</script>
|