diff options
Diffstat (limited to 'site/_includes/header.html')
| -rw-r--r-- | site/_includes/header.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/site/_includes/header.html b/site/_includes/header.html new file mode 100644 index 000000000..3534807f8 --- /dev/null +++ b/site/_includes/header.html @@ -0,0 +1,39 @@ +<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> |
