-
Notifications
You must be signed in to change notification settings - Fork 3
/
chromeless.html
91 lines (76 loc) · 3.7 KB
/
chromeless.html
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% if page.title %}{{ page.title }} | {% endif %}{% if site.subsite_name %}{{ site.subsite_name }} | {% endif %}Socrata</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le Bootstrap-->
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome by Dave Gandy - http://fontawesome.io/ -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.css" rel="stylesheet"/>
<!-- Featherlight Lightbox -->
<link href="//cdn.rawgit.com/noelboss/featherlight/1.3.4/release/featherlight.min.css" rel="stylesheet"/>
<!-- Google Web Fonts -->
<link href="//fonts.googleapis.com/css?family=Ubuntu:bold" rel="stylesheet" type="text/css"/>
<link href="//fonts.googleapis.com/css?family=Nobile" rel="stylesheet" type="text/css"/>
<link href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/styles/default.min.css" rel="stylesheet"/>
<!-- hljs highlighting -->
<!-- CSS customizations -->
<link href="{{ site.baseurl }}/common/css/common.css" rel="stylesheet"/>
<link href="{{ site.baseurl }}/common/css/murphy.css" rel="stylesheet"/>
<link href="{{ site.baseurl }}/css/local.css" rel="stylesheet"/>
{% for css in page.custom_css %}
<link href="{{ site.baseurl }}{{ css }}" rel="stylesheet"/>
{% endfor %}
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Require.js is either the best thing to ever happen to me or my worst enemy -->
<script src="{{ site.baseurl }}/common/js/require.js"></script>
{% if site.xrayquire %}<script src="{{ site.baseurl }}/common/js/xrayquire.js"></script>{% endif %}
<script>
// Load common code and custom includes
requirejs(['{{ site.baseurl }}/common/js/common.js'], function(common) {
var rel_require = function(script) {
if(script.match(/^\/[^\/]/)) {
script = '{{ site.baseurl }}' + script;
}
requirejs([script]);
};
// Site scripts
{% for script in site.custom_js %}
rel_require('{{ script }}');
{% endfor %}
// Page scripts
{% for script in page.layout_js %}
rel_require('{{ script }}');
{% endfor %}
{% for script in page.custom_js %}
rel_require('{{ script }}');
{% endfor %}
});
</script>
<!-- Browser Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.root }}/common/ico/apple-touch-icon-144-precomposed.png"/>
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ site.root }}/common/ico/apple-touch-icon-114-precomposed.png"/>
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ site.root }}/common/ico/apple-touch-icon-72-precomposed.png"/>
<link rel="shortcut icon" href="{{ site.root }}/common/ico/favicon.png"/>
<!-- Blog RSS -->
<link type="application/atom+xml" rel="alternate" href="https://dev.socrata.com/feed.xml" title="Socrata Developer Blog">
</head>
<body class="{{ site.subsite }} {{ page.bodyclass }} {{ page.name | split: "." | first }}">
<!-- Path: "{{page.path }}" -->
<div class="container-fluid content">
{{content}}
</div> <!-- /container -->
{% if site.flags %}
<!-- Dump in our site config -->
<script type="text/javascript">
var flags = {{ site.flags | replace: "=>", ":" }}
</script>
{% endif %}
</body>
</html>