aboutsummaryrefslogtreecommitdiff
path: root/_includes/header.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2018-06-21 07:31:38 +0300
committerMark Otto <[email protected]>2018-07-11 23:30:46 -0700
commit0e920ce3f481a23c00c22c10565463ce58c0aac2 (patch)
treeb66e8c4bf2244d3b71d7f2e6f2376ae528f6bd93 /_includes/header.html
parent9e126b26a863505b048bc927c6c6f731d42d2ba4 (diff)
downloadbootstrap-0e920ce3f481a23c00c22c10565463ce58c0aac2.tar.xz
bootstrap-0e920ce3f481a23c00c22c10565463ce58c0aac2.zip
Reorganize docs for easier deploys
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.
Diffstat (limited to '_includes/header.html')
-rw-r--r--_includes/header.html39
1 files changed, 0 insertions, 39 deletions
diff --git a/_includes/header.html b/_includes/header.html
deleted file mode 100644
index 85d3753e1..000000000
--- a/_includes/header.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<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 }}/dist/css/bootstrap.min.css" rel="stylesheet" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
-{% else %}
-<link href="{{ site.baseurl }}/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 }}/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>