diff options
Diffstat (limited to '_includes/header.html')
| -rw-r--r-- | _includes/header.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 000000000..fd9a9a28c --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,38 @@ +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + +<title> + {% if page.title %} + {{ page.title }} · {{ site.title }} + {% else %} + {{ site.title }} · {{ site.description }} + {% endif %} +</title> + +{% include social.html %} + +<!-- Bootstrap core CSS --> +{% if site.github %} + <link href="{{ site.baseurl }}/dist/css/bootstrap.min.css" rel="stylesheet"> +{% else %} + <link href="{{ site.baseurl }}/dist/css/bootstrap.css" rel="stylesheet"> +{% endif %} + +<!-- Documentation extras --> +{% if page.layout == "docs" %} +<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" /> +{% endif %} +<link href="{{ site.baseurl }}/assets/css/docs.min.css" rel="stylesheet"> + +<!-- Favicons --> +<link rel="apple-touch-icon" href="{{ site.baseurl }}/apple-touch-icon.png"> +<link rel="icon" href="{{ site.baseurl }}/favicon.ico"> + +<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> |
