Repository navigation
Expand file tree
/
Copy pathhtml-head.html
More file actions
51 lines (43 loc) · 2.06 KB
/
Copy pathhtml-head.html
File metadata and controls
51 lines (43 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ page.title | xml_escape }}</title>
{% if page.excerpt %}
<meta name="description" content="{{ page.excerpt | strip_html | strip | xml_escape }}"/>
{% else %}
<!-- Description content not available -->
{% endif %}
<link rel="alternate" type="application/atom+xml" href="/news/atom.xml" title="Atom feed">
<link rel="icon" href="/favicon.ico" />
<!-- Bootstrap styles -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/stylesheets/bootstrap.css">
<!-- Custom styles -->
<link rel="stylesheet" href="/stylesheets/site-structure.css">
<link rel="stylesheet" href="/stylesheets/landing-content.css">
<!-- Template for search results -->
<script type="text/html" id="search-result-template">
<div class="search-result">
<a data-href="href"><h4 data-content="title"></h4></a>
<span data-content="breadcrumbs" class="search-result-breadcrumbs"></span>
<span data-content="author" class="search-result-author"></span><br/>
</div>
</script>
{% if page.extra-head-content %}
{{ page.extra-head-content }}
{% endif %}
{% if site.github.owner_name == "ev3dev" %}
<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-84851562-1', 'auto');
ga('send', 'pageview');
ga('require', 'outboundLinkTracker');
</script>
{% else %}
<!-- Google Analytics excluded: not an official site build -->
{% endif %}
</head>