jekyll-theme-bas-style-kit 0.2.3 → 0.3.0.pre.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +41 -0
  3. data/LICENSE.md +4 -3
  4. data/README.md +170 -615
  5. data/_config.yml +61 -20
  6. data/_data/bas-style-kit/bsk-css.yml +5 -0
  7. data/_data/bas-style-kit/bsk-js.yml +13 -0
  8. data/_data/bas-style-kit/bsk-vars.yml +3 -0
  9. data/_data/menus.yml +19 -0
  10. data/_includes/bas-style-kit/body.html +3 -0
  11. data/_includes/bas-style-kit/bsk-body--analytics-script.html +9 -0
  12. data/_includes/bas-style-kit/bsk-body--back-to-top.html +2 -0
  13. data/_includes/bas-style-kit/bsk-body--core-scripts.html +8 -0
  14. data/_includes/bas-style-kit/bsk-body--standard-footer.html +16 -0
  15. data/_includes/bas-style-kit/bsk-body--standard-header.html +17 -0
  16. data/_includes/bas-style-kit/bsk-body--standard.html +15 -0
  17. data/_includes/bas-style-kit/bsk-body.html +9 -0
  18. data/_includes/bas-style-kit/bsk-footer--contents.html +0 -0
  19. data/_includes/bas-style-kit/bsk-footer--legal-policies.html +8 -0
  20. data/_includes/bas-style-kit/bsk-footer--ogl.html +9 -0
  21. data/_includes/bas-style-kit/bsk-head--core-meta.html +4 -0
  22. data/_includes/bas-style-kit/bsk-head--core-styles.html +6 -0
  23. data/_includes/bas-style-kit/bsk-head--favicon.html +2 -0
  24. data/_includes/bas-style-kit/bsk-head--seo-meta.html +4 -0
  25. data/_includes/bas-style-kit/bsk-head.html +6 -0
  26. data/_includes/bas-style-kit/bsk-header--cookie-notice.html +11 -0
  27. data/_includes/bas-style-kit/bsk-header--development-phase.html +12 -0
  28. data/_includes/bas-style-kit/bsk-header--site-navigation.html +6 -0
  29. data/_includes/bas-style-kit/bsk-nav--collapse.html +4 -0
  30. data/_includes/bas-style-kit/bsk-nav--header.html +4 -0
  31. data/_includes/bas-style-kit/bsk-nav-collapse--primary-navigation.html +32 -0
  32. data/_includes/bas-style-kit/bsk-nav-collapse--secondary-navigation.html +20 -0
  33. data/_includes/bas-style-kit/bsk-nav-header--brand.html +8 -0
  34. data/_includes/bas-style-kit/bsk-nav-header--collapse-trigger.html +6 -0
  35. data/_includes/bas-style-kit/head.html +1 -0
  36. data/_layouts/bas-style-kit/blank.html +4 -0
  37. data/_layouts/bas-style-kit/bsk--base.html +8 -0
  38. data/_layouts/bas-style-kit/bsk--standard.html +8 -0
  39. data/_layouts/bas-style-kit/html.html +8 -0
  40. data/screenshot.png +0 -0
  41. metadata +101 -34
  42. data/LICENSE-MIT.md +0 -21
  43. data/_data/bsk_jekyll_js.json +0 -22
  44. data/_data/bsk_jekyll_vars.json +0 -4
  45. data/_includes/layout/cookie-banner.html +0 -7
  46. data/_includes/layout/phase-banner.html +0 -15
  47. data/_includes/layout/site-footer.html +0 -26
  48. data/_includes/layout/site-navigation.html +0 -77
  49. data/_includes/snippets/back-to-top.html +0 -1
  50. data/_includes/snippets/body-js.html +0 -12
  51. data/_includes/snippets/google-analytics.html +0 -12
  52. data/_includes/snippets/head.html +0 -29
  53. data/_includes/snippets/is-something-wrong.html +0 -1
  54. data/_layouts/blank.html +0 -1
  55. data/_layouts/default.html +0 -20
  56. data/_layouts/html.html +0 -12
  57. data/assets/bsk-jekyll/css/jekyll-theme-bas-style-kit.scss +0 -75
  58. data/assets/bsk-jekyll/img/apple-touch-icon.png +0 -0
  59. data/assets/bsk-jekyll/js/cookie-banner.js +0 -32
  60. data/assets/css/main.scss +0 -7
  61. data/assets/js/page-js-test.js +0 -1
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: blank
3
+ ---
4
+ <!DOCTYPE html>
5
+ <html lang="en-GB">
6
+ {% include bas-style-kit/head.html %}
7
+ {% include bas-style-kit/body.html %}
8
+ </html>
data/screenshot.png CHANGED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-bas-style-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.0.pre.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Fennell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-11 00:00:00.000000000 Z
11
+ date: 2018-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.4'
19
+ version: '3.7'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.7.2
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '3.4'
29
+ version: '3.7'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.7.2
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: jekyll-data
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -38,34 +44,80 @@ dependencies:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
46
  version: '1.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: jekyll-menus
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '0.6'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.6.0
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '0.6'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.6.0
67
+ - !ruby/object:Gem::Dependency
68
+ name: jekyll-tidy
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '0.2'
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 0.2.2
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '0.2'
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 0.2.2
41
87
  - !ruby/object:Gem::Dependency
42
88
  name: bundler
43
89
  requirement: !ruby/object:Gem::Requirement
44
90
  requirements:
45
91
  - - "~>"
46
92
  - !ruby/object:Gem::Version
47
- version: '1.12'
93
+ version: '1.16'
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 1.16.1
48
97
  type: :development
49
98
  prerelease: false
50
99
  version_requirements: !ruby/object:Gem::Requirement
51
100
  requirements:
52
101
  - - "~>"
53
102
  - !ruby/object:Gem::Version
54
- version: '1.12'
103
+ version: '1.16'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 1.16.1
55
107
  - !ruby/object:Gem::Dependency
56
108
  name: rake
57
109
  requirement: !ruby/object:Gem::Requirement
58
110
  requirements:
59
111
  - - "~>"
60
112
  - !ruby/object:Gem::Version
61
- version: '10.0'
113
+ version: '12.3'
62
114
  type: :development
63
115
  prerelease: false
64
116
  version_requirements: !ruby/object:Gem::Requirement
65
117
  requirements:
66
118
  - - "~>"
67
119
  - !ruby/object:Gem::Version
68
- version: '10.0'
120
+ version: '12.3'
69
121
  description:
70
122
  email:
71
123
  - felnne@bas.ac.uk
@@ -75,34 +127,49 @@ extra_rdoc_files: []
75
127
  files:
76
128
  - CHANGELOG.md
77
129
  - CONTRIBUTING.md
78
- - LICENSE-MIT.md
79
130
  - LICENSE.md
80
131
  - README.md
81
132
  - _config.yml
82
- - _data/bsk_jekyll_js.json
83
- - _data/bsk_jekyll_vars.json
84
- - _includes/layout/cookie-banner.html
85
- - _includes/layout/phase-banner.html
86
- - _includes/layout/site-footer.html
87
- - _includes/layout/site-navigation.html
88
- - _includes/snippets/back-to-top.html
89
- - _includes/snippets/body-js.html
90
- - _includes/snippets/google-analytics.html
91
- - _includes/snippets/head.html
92
- - _includes/snippets/is-something-wrong.html
93
- - _layouts/blank.html
94
- - _layouts/default.html
95
- - _layouts/html.html
96
- - assets/bsk-jekyll/css/jekyll-theme-bas-style-kit.scss
97
- - assets/bsk-jekyll/img/apple-touch-icon.png
98
- - assets/bsk-jekyll/js/cookie-banner.js
99
- - assets/css/main.scss
100
- - assets/js/page-js-test.js
133
+ - _data/bas-style-kit/bsk-css.yml
134
+ - _data/bas-style-kit/bsk-js.yml
135
+ - _data/bas-style-kit/bsk-vars.yml
136
+ - _data/menus.yml
137
+ - _includes/bas-style-kit/body.html
138
+ - _includes/bas-style-kit/bsk-body--analytics-script.html
139
+ - _includes/bas-style-kit/bsk-body--back-to-top.html
140
+ - _includes/bas-style-kit/bsk-body--core-scripts.html
141
+ - _includes/bas-style-kit/bsk-body--standard-footer.html
142
+ - _includes/bas-style-kit/bsk-body--standard-header.html
143
+ - _includes/bas-style-kit/bsk-body--standard.html
144
+ - _includes/bas-style-kit/bsk-body.html
145
+ - _includes/bas-style-kit/bsk-footer--contents.html
146
+ - _includes/bas-style-kit/bsk-footer--legal-policies.html
147
+ - _includes/bas-style-kit/bsk-footer--ogl.html
148
+ - _includes/bas-style-kit/bsk-head--core-meta.html
149
+ - _includes/bas-style-kit/bsk-head--core-styles.html
150
+ - _includes/bas-style-kit/bsk-head--favicon.html
151
+ - _includes/bas-style-kit/bsk-head--seo-meta.html
152
+ - _includes/bas-style-kit/bsk-head.html
153
+ - _includes/bas-style-kit/bsk-header--cookie-notice.html
154
+ - _includes/bas-style-kit/bsk-header--development-phase.html
155
+ - _includes/bas-style-kit/bsk-header--site-navigation.html
156
+ - _includes/bas-style-kit/bsk-nav--collapse.html
157
+ - _includes/bas-style-kit/bsk-nav--header.html
158
+ - _includes/bas-style-kit/bsk-nav-collapse--primary-navigation.html
159
+ - _includes/bas-style-kit/bsk-nav-collapse--secondary-navigation.html
160
+ - _includes/bas-style-kit/bsk-nav-header--brand.html
161
+ - _includes/bas-style-kit/bsk-nav-header--collapse-trigger.html
162
+ - _includes/bas-style-kit/head.html
163
+ - _layouts/bas-style-kit/blank.html
164
+ - _layouts/bas-style-kit/bsk--base.html
165
+ - _layouts/bas-style-kit/bsk--standard.html
166
+ - _layouts/bas-style-kit/html.html
101
167
  - screenshot.png
102
168
  homepage: https://gitlab.data.bas.ac.uk/BSK/bas-style-kit-jekyll-theme
103
169
  licenses:
104
- - MIT
105
- metadata: {}
170
+ - Nonstandard
171
+ metadata:
172
+ source_code_uri: https://github.com/antarctica/bas-style-kit-jekyll-theme.git
106
173
  post_install_message:
107
174
  rdoc_options: []
108
175
  require_paths:
@@ -114,13 +181,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
181
  version: '0'
115
182
  required_rubygems_version: !ruby/object:Gem::Requirement
116
183
  requirements:
117
- - - ">="
184
+ - - ">"
118
185
  - !ruby/object:Gem::Version
119
- version: '0'
186
+ version: 1.3.1
120
187
  requirements: []
121
188
  rubyforge_project:
122
- rubygems_version: 2.6.7
189
+ rubygems_version: 2.7.4
123
190
  signing_key:
124
191
  specification_version: 4
125
- summary: Jekyll theme implementing the BAS Style Kit
192
+ summary: Jekyll theme for the BAS Style Kit
126
193
  test_files: []
data/LICENSE-MIT.md DELETED
@@ -1,21 +0,0 @@
1
- The MIT license
2
-
3
- Copyright (c) NERC BAS 2017 https://www.bas.ac.uk
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
@@ -1,22 +0,0 @@
1
- [
2
- {
3
- "comment": "jQuery (necessary for Bootstrap's JavaScript plugins)",
4
- "href": "https://cdn.web.bas.ac.uk/js-libs/jquery-3.1.1.min.js",
5
- "type": "remote"
6
- },
7
- {
8
- "comment": "Compiled and minified Bootstrap JavaScript plugins, include individual plugins instead if needed",
9
- "href": "https://cdn.web.bas.ac.uk/js-libs/boostrap-3.3.7.min.js",
10
- "type": "remote"
11
- },
12
- {
13
- "comment": "Cookie library used to persistently hide the cookie banner (slightly ironic we need a cookie to do this)",
14
- "href": "https://cdn.web.bas.ac.uk/js-libs/js.cookie-2.1.3.min.js",
15
- "type": "remote"
16
- },
17
- {
18
- "comment": "Code for managing cookie banner",
19
- "href": "/assets/bsk-jekyll/js/cookie-banner.js",
20
- "type": "local"
21
- }
22
- ]
@@ -1,4 +0,0 @@
1
- {
2
- "theme_version": "0.2.3",
3
- "bsk_version": "0.1.0"
4
- }
@@ -1,7 +0,0 @@
1
- <div class="alert bsk-jekyll-alert-top-pin bsk-jekyll-alert-cookie-banner" id="site-cookie-banner" role="alert">
2
- <div class="container">
3
- <button type="button" class="close" data-dismiss="alert" aria-label="Close"><i class="fa fa-times-circle" aria-hidden="true"></i></button>
4
- This website uses cookies to help us make it better -
5
- <a class="alert-link" href="{{ site.cookies_href }}">find out more</a>.
6
- </div>
7
- </div>
@@ -1,15 +0,0 @@
1
- {% unless site.phase == 'live' %}
2
- <div class="container">
3
- <div>
4
- <span class="label bsk-jekyll-label-phase-{{ site.phase | downcase }}">{{ site.phase | upcase }}</span>
5
- {% if site.phase == 'alpha' %}
6
- This is a new website – your <a href="{{ site.feedback_href | prepend: site.baseurl }}">feedback</a> will help us to improve it.
7
- {% elsif site.phase == 'beta' %}
8
- This is a new website – your <a href="{{ site.feedback_href | prepend: site.baseurl }}">feedback</a> will help us to improve it.
9
- {% elsif site.phase == 'retired' %}
10
- This website is being shut down soon - <a href="{{ site.feedback_href | prepend: site.baseurl }}">contact us</a> if this will affect you.
11
- {% endif %}
12
- </div>
13
- <hr />
14
- </div>
15
- {% endunless %}
@@ -1,26 +0,0 @@
1
- <footer class="footer-bsk footer-bsk-default site-footer">
2
- <div class="container">
3
- <!-- main content -->
4
- <div class="pull-left">
5
- {% include snippets/is-something-wrong.html %}
6
- </div>
7
- <div class="pull-right">
8
- {% include snippets/back-to-top.html %}
9
- </div>
10
- <div class="clearfix"></div>
11
- <div role="separator" class="footer-bsk-divider"></div>
12
- <!-- Copyright & legal -->
13
- <div class="footer-bsk-ogl">
14
- <a class="ogl-symbol" rel="license" href="http://www.nationalarchives.gov.uk/doc/open-government-licence/"><img alt="Open Government Licence logo" src="https://s3-eu-west-1.amazonaws.com/bas-cdn-dev/scratch/bas-style-kit-jekyll-theme/img/ogl-symbol-white.png"></a>
15
- <div class="ogl-text">All content is licensed under the <a href="http://www.nationalarchives.gov.uk/doc/open-government-licence/">Open Government Licence v3.0</a>, except where otherwise stated</div>
16
- </div>
17
- <div class="footer-bsk-policy-links">
18
- © {{site.time | date: "%Y"}} NERC BAS
19
- <ul class="list-inline">
20
- <li><a href="{{ site.copyright_href }}">Copyright</a></li>
21
- <li><a href="{{ site.privacy_href }}">Privacy</a></li>
22
- <li><a href="{{ site.cookies_href }}">Cookies</a></li>
23
- </ul>
24
- </div>
25
- </div>
26
- </footer>
@@ -1,77 +0,0 @@
1
- <nav class="navbar navbar-bsk navbar-static-top site-navigation">
2
- <div class="container">
3
- <!-- Site name and toggle get grouped for better mobile display -->
4
- <div class="navbar-header">
5
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#site-navbar-collapse" aria-expanded="false">
6
- <span class="sr-only">Toggle navigation</span>
7
- <span class="icon-bar"></span>
8
- <span class="icon-bar"></span>
9
- <span class="icon-bar"></span>
10
- </button>
11
- <a class="navbar-brand" href="/">{{ site.title }}</a>
12
- </div><!-- /.navbar-header -->
13
-
14
- <!-- Collect navigation items, links, forms etc., for toggling -->
15
- <div class="collapse navbar-collapse" id="site-navbar-collapse">
16
- <ul class="nav navbar-nav">
17
- {% for item in site.nav_items %}
18
- {% comment %} Reset the active flag for each run-through to prevent multiple items being flagged as active {% endcomment %}
19
- {% assign is_active = false %}
20
-
21
- {% comment %} Single navbar items {% endcomment %}
22
- {% if item.type == 'single_item' %}
23
- {% assign page_url = page.url | remove: '.html' %}
24
- {% assign item_url = item.href | append: '/' %}
25
- <li {% if page_url == item.href %}class="active"{% endif %} {% unless page_url == '/' %}{% unless item.href == '/' %}{% if page_url == item_url %} class="active"{% endif %}{% endunless %}{% endunless %}>
26
- {% if page_url == item.href %}<span class="sr-only">(current)</span>{% endif %} {% unless page_url == '/' %}{% unless item.href == '/' %}{% if page_url + '/' == item.href %}<span class="sr-only">(current)</span>{% endif %}{% endunless %}{% endunless %}
27
- <a href="{{ item.href }}">{{ item.name }}</a>
28
- </li>
29
-
30
- {% comment %} Dropdown navbar items {% endcomment %}
31
- {% elsif item.type == 'dropdown_item' %}
32
- {% assign page_url = page.url | remove: '.html' %}
33
- {% for action in item.actions %}
34
- {% if page_url == action.href %}
35
- {% assign is_active = true %}
36
- {% endif %}
37
- {% assign action_url = action.href | append: '/' %}
38
- {% if page_url == action_url %}
39
- {% assign is_active = true %}
40
- {% endif %}
41
- {% endfor %}
42
- <li class="dropdown {% if is_active %}active{% endif %}">
43
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
44
- {% if is_active %}<span class="sr-only">(current)</span>{% endif %}
45
- {{ item.name }} <span class="caret"></span></a>
46
- <ul class="dropdown-menu dropdown-menu-bsk">
47
- {% for action in item.actions %}
48
- {% assign action_url = action.href | append: '/' %}
49
- <li {% if page_url == action.href %}class="active"{% endif %} {% unless page_url == '/' %}{% unless action.href == '/' %}{% if page_url == action_url %} class="active"{% endif %}{% endunless %}{% endunless %}>
50
- {% if page_url == action.href %}<span class="sr-only">(current)</span>{% endif %} {% unless page_url == '/' %}{% unless action.href == '/' %}{% if page_url == action_url %}<span class="sr-only">(current)</span>{% endif %}{% endunless %}{% endunless %}
51
- <a href="{{ action.href }}">{{ action.name }}</a>
52
- </li>
53
- {% endfor %}
54
- </ul>
55
- </li>
56
- {% endif %}
57
- {% endfor %}
58
- </ul><!-- /.navbar-nav -->
59
-
60
- <ul class="nav navbar-nav navbar-right">
61
- <li class="dropdown">
62
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
63
- Part of the British Antarctic Survey <span class="caret"></span>
64
- </a>
65
- <ul class="dropdown-menu dropdown-menu-bsk">
66
- {% for item in site.nav_related_sites %}
67
- <li><a href="{{ item.href }}">{{ item.name }}</a></li>
68
- {% endfor %}
69
- </ul>
70
- </li>
71
- <li>
72
- <a href="{{ site.feedback_href }}">Feedback</a>
73
- </li>
74
- </ul><!-- /.navbar-nav .navbar-right -->
75
- </div><!-- /.navbar-collapse -->
76
- </div><!-- /.container -->
77
- </nav>
@@ -1 +0,0 @@
1
- <a class="back-to-top" href="#site-top"><i class="fa fa-arrow-up" aria-hidden="true"></i> Back to top</a>
@@ -1,12 +0,0 @@
1
- {% comment %}BSK Jekyll Theme core JS files{% endcomment %}
2
- {% for script in site.data.bsk_jekyll_js %}
3
- <!-- {{ script.comment }} -->
4
- {% if script.type == 'remote' %}<script src="{{ script.href }}"></script>{% endif %}
5
- {% if script.type == 'local' %}<script src="{{ script.href | prepend: site.baseurl }}"></script>{% endif %}
6
- {% endfor %}
7
- {% comment %}Additional JS files listed on per-page basis{% endcomment %}
8
- {% for script in page.body_js_files %}
9
- <!-- {{ script.comment }} -->
10
- {% if script.type == 'remote' %}<script src="{{ script.href }}"></script>{% endif %}
11
- {% if script.type == 'local' %}<script src="{{ script.href | prepend: site.baseurl }}"></script>{% endif %}
12
- {% endfor %}
@@ -1,12 +0,0 @@
1
- <script>
2
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5
- })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6
-
7
- ga('create', '{{ site.ga_property }}', 'auto', {
8
- anonymizeIp: true
9
- });
10
- ga('send', 'pageview');
11
-
12
- </script>
@@ -1,29 +0,0 @@
1
- <head>
2
- <meta charset="utf-8">
3
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
- <meta name="viewport" content="width=device-width, initial-scale=1">
5
- <!-- The above 3 meta tags *must* come first in the head -->
6
- <title>{% if page.title %}{{ page.title | escape }} &middot; {{ site.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7
- <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
8
- <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
9
-
10
- <!-- Favicons -->
11
- <link rel="apple-touch-icon" sizes="152x152" href="{{ "/bsk-jekyll/img/apple-touch-icon.png" | prepend: site.baseurl }}">
12
- <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{ "/bsk-jekyll/img/apple-touch-icon.png" | prepend: site.baseurl }}">
13
-
14
- <!-- Compiled and minified customised Bootstrap CSS for the BAS Style Kit -->
15
- <link rel="stylesheet" href="https://cdn.web.bas.ac.uk/bas-style-kit/0.1.0/css/bootstrap-bsk.min.css" integrity="sha256-LcHhV+YQv+6Le1nrMcfpE3YoFYIvnfC8mtEa6IC4r48=" crossorigin="anonymous">
16
- <!-- Compiled and minified BAS Style Kit CSS -->
17
- <link rel="stylesheet" href="https://cdn.web.bas.ac.uk/bas-style-kit/0.1.0/css/bas-style-kit.min.css" integrity="sha256-BtBOHsRYohQJ5q9Lpjs53snUSKyMuV2bYkPEAmQH56o=" crossorigin="anonymous">
18
- <!-- Theme specific styles -->
19
- <link rel="stylesheet" href="{{ "/assets/bsk-jekyll/css/jekyll-theme-bas-style-kit.css" | prepend: site.baseurl }}">
20
- <!-- Site specific styles -->
21
- <link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}">
22
-
23
- <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
24
- <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
25
- <!--[if lt IE 9]>
26
- <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
27
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
28
- <![endif]-->
29
- </head>