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

Sign up to get free protection for your applications and to get access to all the features.
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
data/_config.yml CHANGED
@@ -1,38 +1,79 @@
1
1
  # This file is **NOT** a standard Jekyll config file.
2
2
  #
3
- # It is used to define config options for use by the BAS Style Kit Jekyll Theme, which will be merged together with
4
- # individual website options at runtime using the Jekyll Data plugin.
3
+ # It is used to define default config options for this theme.
4
+ # These settings will be merged with site specific settings at runtime, site specific settings override these defaults.
5
5
 
6
- # If any of these options are set within a site's config file, it will override the values defined here.
6
+ # Additional config options are defined using the Jekyll Data plugin, under the `site.data.bsk_jekyll_vars` namespace.
7
+ # E.g. `site.data.bsk_jekyll_vars.bsk_attributes.bsk_version` gives the version of the BAS Style Kit this theme uses.
7
8
 
8
9
  # Plugins (required by this theme)
10
+ #
9
11
 
10
- gems:
12
+ plugins:
11
13
  - jekyll-data
14
+ - jekyll-tidy
12
15
 
13
- # Set default permalink format
16
+ # Build settings
17
+ #
14
18
 
19
+ # Set default permalink format
15
20
  permalink: pretty
16
21
 
17
- # Set default development phase
18
-
19
- phase: live
20
-
21
- # Set default layout
22
+ # Site settings
23
+ #
22
24
 
25
+ # Set default layout - the empty `path` acts as a wildcard targetting all files in the site
23
26
  defaults:
24
27
  -
25
28
  scope:
26
- path: "" # an empty string here means all files in the project
29
+ path: ''
27
30
  values:
28
- layout: "default"
31
+ layout: 'bas-style-kit/bsk--standard'
29
32
 
30
- # Set default related sites
33
+ # Theme settings
34
+ #
31
35
 
32
- nav_related_sites:
33
- -
34
- name: BAS Home
35
- href: https://www.bas.ac.uk
36
- -
37
- name: Discover BAS data
38
- href: https://data.bas.ac.uk
36
+ bas_style_kit_jekyll_theme:
37
+ feature_flags:
38
+ site:
39
+ back_to_top_anchor: true
40
+ standard_header: true
41
+ standard_footer: true
42
+ standard_header:
43
+ cookie_notice: true
44
+ site_navigation: true
45
+ development_phase: true
46
+ standard_footer:
47
+ divider: true
48
+ ogl: true
49
+ legal_policies: true
50
+ attributes:
51
+ container: fixed
52
+ head_title:
53
+ # Used when `page.title` isn't set
54
+ default: 'site title'
55
+ # Appended to either `page.title` or `head_title.default` - e.g. ` - Site Foo`
56
+ appended: !!null
57
+ head_description: 'site description'
58
+ site_brand:
59
+ text: 'site title'
60
+ img: !!null
61
+ img_size: !!null
62
+ href: '/'
63
+ site_development_phase: 'alpha'
64
+ site_feedback_href: '/feedback.html'
65
+ site_analytics:
66
+ id: !!null
67
+
68
+ # These settings aren't usually changed
69
+ head_favicon: 'data:;base64,iVBORw0KGgo='
70
+ site_back_to_top_target_href: '#site-top'
71
+ site_footer:
72
+ ogl:
73
+ href: 'http://www.nationalarchives.gov.uk/doc/open-government-licence'
74
+ img: 'https://cdn.web.bas.ac.uk/bas-style-kit/0.3.0/img/logos-symbols/ogl-symbol-inverse-transparent-32.png'
75
+ text_version: 'v3.0'
76
+ legal_policies:
77
+ copyright_href: '/legal/copyright.html'
78
+ cookies_href: '/legal/copyright.html'
79
+ privacy_href: '/legal/privacy.html'
@@ -0,0 +1,5 @@
1
+ ---
2
+ -
3
+ href: 'https://cdn.web.bas.ac.uk/bas-style-kit/0.3.0/css/bas-style-kit.min.css'
4
+ integrity: 'sha256-yuFC35HZoRiUo5Gkp630hHWFrnmDpoYFsh54qYo2HPc='
5
+ type: 'remote'
@@ -0,0 +1,13 @@
1
+ ---
2
+ -
3
+ href: 'https://cdn.web.bas.ac.uk/js-libs/jquery-3.3.1.min.js'
4
+ integrity: 'sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8='
5
+ type: 'remote'
6
+ -
7
+ href: 'https://cdn.web.bas.ac.uk/js-libs/js.cookie-2.1.3.min.js'
8
+ integrity: 'sha256-EareStqgZTnMUqLWtDkCa3SldvB8NPBY8u5C6ZUMWRc='
9
+ type: 'remote'
10
+ -
11
+ href: 'https://cdn.web.bas.ac.uk/bas-style-kit/0.3.0/js/bas-style-kit.min.js'
12
+ integrity: 'sha256-QbuFUcH4HIGWW9ch0hO/j+GkhxP4QNdWWGyHE9lIlc8='
13
+ type: 'remote'
@@ -0,0 +1,3 @@
1
+ ---
2
+ theme_version: "0.3.0"
3
+ bsk_version: "0.3.0"
data/_data/menus.yml ADDED
@@ -0,0 +1,19 @@
1
+ ---
2
+ # The name of this file is a convention set by the Jekyll Menus plugin
3
+ # Source: https://github.com/forestryio/jekyll-menus
4
+
5
+ site_navigation_primary: []
6
+
7
+ site_navigation_secondary:
8
+ - url: '#'
9
+ title: Part of British Antarctic Survey
10
+ identifier: site_navigation_launcher
11
+ weight: 50
12
+
13
+ site_navigation_launcher:
14
+ - url: 'https://www.bas.ac.uk'
15
+ title: BAS Home
16
+ weight: 1
17
+ - url: 'https://data.bas.ac.uk'
18
+ title: Discover BAS Data
19
+ weight: 100
@@ -0,0 +1,3 @@
1
+ <body>
2
+ {{ content }}
3
+ </body>
@@ -0,0 +1,9 @@
1
+ {% if site.bas_style_kit_jekyll_theme.attributes.site_analytics.id %}
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id=GA_TRACKING_ID"></script>
3
+ <script>
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+ gtag('config', '{{ site.bas_style_kit_jekyll_theme.attributes.site_analytics.id }}', { 'anonymize_ip': true });
8
+ </script>
9
+ {% endif %}
@@ -0,0 +1,2 @@
1
+ <div id="site-top"></div>
2
+ <a class="bsk-sr-only bsk-sr-only-focusable" href="#site-content">Skip to main content</a>
@@ -0,0 +1,8 @@
1
+ {% for script in site.data.bas-style-kit.bsk-js %}
2
+ <script {% if script.type == 'remote' %}src="{{ script.href }}"{% elsif script.type == 'local' %}src="{{ script.href | prepend: site.baseurl }}"{% endif %} {% if script.integrity %}integrity="{{ script.integrity }}" crossorigin="anonymous"{% endif %}></script>
3
+ {% endfor %}
4
+ {% for script in page.body_js_files %}
5
+ <script {% if script.type == 'remote' %}src="{{ script.href }}"{% elsif script.type == 'local' %}src="{{ script.href | prepend: site.baseurl }}"{% endif %} {% if script.integrity %}integrity="{{ script.integrity }}" crossorigin="anonymous"{% endif %}></script>
6
+ {% endfor %}
7
+
8
+ {% include bas-style-kit/bsk-body--analytics-script.html %}
@@ -0,0 +1,16 @@
1
+ <footer class="site-footer">
2
+ <div class="bsk-footer bsk-footer-default">
3
+ <div class="{% if site.bas_style_kit_jekyll_theme.attributes.container == 'fixed' %}bsk-container{% elsif site.bas_style_kit_jekyll_theme.attributes.container == 'fluid' %}bsk-container-fluid{% endif %}">
4
+ {% include bas-style-kit/bsk-footer--contents.html %}
5
+ {% if site.bas_style_kit_jekyll_theme.feature_flags.standard_footer.divider == true %}
6
+ <div role="separator" class="bsk-footer-divider"></div>
7
+ {% endif %}
8
+ {% if site.bas_style_kit_jekyll_theme.feature_flags.standard_footer.ogl == true %}
9
+ {% include bas-style-kit/bsk-footer--ogl.html %}
10
+ {% endif %}
11
+ {% if site.bas_style_kit_jekyll_theme.feature_flags.standard_footer.legal_policies == true %}
12
+ {% include bas-style-kit/bsk-footer--legal-policies.html %}
13
+ {% endif %}
14
+ </div>
15
+ </div>
16
+ </footer>
@@ -0,0 +1,17 @@
1
+ {% if site.bas_style_kit_jekyll_theme.attributes.container == 'fixed' %}
2
+ {% assign bsk_attributes_container_class = "bsk-container" %}
3
+ {% elsif site.bas_style_kit_jekyll_theme.attributes.container == 'fluid' %}
4
+ {% assign bsk_attributes_container_class = "bsk-container-fluid" %}
5
+ {% endif %}
6
+
7
+ <header class="site-header">
8
+ {% if site.bas_style_kit_jekyll_theme.feature_flags.standard_header.cookie_notice == true %}
9
+ {% include bas-style-kit/bsk-header--cookie-notice.html %}
10
+ {% endif %}
11
+ {% if site.bas_style_kit_jekyll_theme.feature_flags.standard_header.site_navigation == true %}
12
+ {% include bas-style-kit/bsk-header--site-navigation.html %}
13
+ {% endif %}
14
+ {% if site.bas_style_kit_jekyll_theme.feature_flags.standard_header.development_phase == true %}
15
+ {% include bas-style-kit/bsk-header--development-phase.html %}
16
+ {% endif %}
17
+ </header>
@@ -0,0 +1,15 @@
1
+ <body>
2
+ {% if site.bas_style_kit_jekyll_theme.feature_flags.site.back_to_top_anchor == true %}
3
+ {% include bas-style-kit/bsk-body--back-to-top.html %}
4
+ {% endif %}
5
+ {% if site.bas_style_kit_jekyll_theme.feature_flags.site.standard_header == true %}
6
+ {% include bas-style-kit/bsk-body--standard-header.html %}
7
+ {% endif %}
8
+ <main class="{% if site.bas_style_kit_jekyll_theme.attributes.container == 'fixed' %}bsk-container{% elsif site.bas_style_kit_jekyll_theme.attributes.container == 'fluid' %}bsk-container-fluid{% endif %}" id="site-content">
9
+ {{ content }}
10
+ </main>
11
+ {% if site.bas_style_kit_jekyll_theme.feature_flags.site.standard_footer == true %}
12
+ {% include bas-style-kit/bsk-body--standard-footer.html %}
13
+ {% endif %}
14
+ {% include bas-style-kit/bsk-body--core-scripts.html %}
15
+ </body>
@@ -0,0 +1,9 @@
1
+ <body>
2
+ {% if site.bas_style_kit_jekyll_theme.feature_flags.site.back_to_top_anchor == True %}
3
+ {% include bas-style-kit/bsk-body--back-to-top.html %}
4
+ {% endif %}
5
+ <main id="site-content">
6
+ {{ content }}
7
+ </main>
8
+ {% include bas-style-kit/bsk-body--core-scripts.html %}
9
+ </body>
File without changes
@@ -0,0 +1,8 @@
1
+ <div class="bsk-footer-policy-links">
2
+ © {{site.time | date: "%Y"}} NERC BAS
3
+ <ul class="bsk-list-inline">
4
+ <li><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.cookies_href }}"> Cookies</a></li>
5
+ <li><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.copyright_href }}"> Copyright</a></li>
6
+ <li><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.privacy_href }}"> Privacy</a></li>
7
+ </ul>
8
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="bsk-footer-ogl">
2
+ <a class="bsk-ogl-symbol" rel="license" href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.ogl.href }}">
3
+ <img alt="Open Government Licence symbol" src="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.ogl.img }}" />
4
+ </a>
5
+ <div class="bsk-ogl-text">
6
+ This website is licensed under the
7
+ <a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.ogl.href }}">Open Government Licence {{ site.bas_style_kit_jekyll_theme.attributes.site_footer.ogl.text_version }}</a>
8
+ , except where otherwise stated</div>
9
+ </div>
@@ -0,0 +1,4 @@
1
+ <meta charset="utf-8">
2
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
3
+ <meta http-equiv="x-ua-compatible" content='ie=edge'>
4
+ <!-- The above 3 meta tags *must* come first in the head -->
@@ -0,0 +1,6 @@
1
+ {% for style in site.data.bas-style-kit.bsk-css %}
2
+ <link rel="stylesheet" {% if style.type == 'remote' %}href="{{ style.href }}"{% elsif style.type == 'local' %}href="{{ style.href | prepend: site.baseurl }}"{% endif %} {% if style.integrity %}integrity="{{ style.integrity }}" crossorigin="anonymous"{% endif %}>
3
+ {% endfor %}
4
+ {% for style in page.body_css_files %}
5
+ <link rel="stylesheet" {% if style.type == 'remote' %}href="{{ style.href }}"{% elsif style.type == 'local' %}href="{{ style.href | prepend: site.baseurl }}"{% endif %} {% if style.integrity %}integrity="{{ style.integrity }}" crossorigin="anonymous"{% endif %}>
6
+ {% endfor %}
@@ -0,0 +1,2 @@
1
+ <!-- Favicon and app icons -->
2
+ {% if site.bas_style_kit_jekyll_theme.attributes.head_favicon %}<link rel="icon" href="{{ site.bas_style_kit_jekyll_theme.attributes.head_favicon }}">{% endif %}
@@ -0,0 +1,4 @@
1
+ <!-- Recommended meta tags for SEO -->
2
+ {% if page.title %}<title>{{ page.title }}{% if site.bas_style_kit_jekyll_theme.attributes.head_title.appended %}{{ site.bas_style_kit_jekyll_theme.attributes.head_title.appended }}{% endif %}</title>
3
+ {% elsif site.bas_style_kit_jekyll_theme.attributes.head_title.default %}<title>{{ site.bas_style_kit_jekyll_theme.attributes.head_title.default }}</title>{% endif %}
4
+ {% if site.bas_style_kit_jekyll_theme.attributes.head_description %}<meta name="description" content="{{ site.bas_style_kit_jekyll_theme.attributes.head_description }}">{% endif %}
@@ -0,0 +1,6 @@
1
+ <head>
2
+ {% include bas-style-kit/bsk-head--core-meta.html %}
3
+ {% include bas-style-kit/bsk-head--seo-meta.html %}
4
+ {% include bas-style-kit/bsk-head--favicon.html %}
5
+ {% include bas-style-kit/bsk-head--core-styles.html %}
6
+ </head>
@@ -0,0 +1,11 @@
1
+ <div class="bsk-fix-alert-static-top-{{ site.bas_style_kit_jekyll_theme.attributes.container }}-container-wrapper">
2
+ <div class="{{ bsk_attributes_container_class }}">
3
+ <div class="bsk-alert bsk-alert-static-top bsk-alert-dismissible bsk-alert-solid bsk-alert-cookie-notice" bsk-role='cookie-notice'>
4
+ <button class="bsk-close" type="button" data-dismiss="alert" aria-label="Close">
5
+ <i class="fa fa-times" aria-hidden="true"></i>
6
+ </button>
7
+ This website uses cookies to help us make it better -
8
+ <a class="bsk-alert-link" href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.cookies_href }}">find out more</a>
9
+ </div>
10
+ </div>
11
+ </div>
@@ -0,0 +1,12 @@
1
+ {% unless site.bas_style_kit_jekyll_theme.attributes.site_development_phase == 'live-stable' %}
2
+ <div class="{{ bsk_attributes_container_class }}">
3
+ {% unless site.bas_style_kit_jekyll_theme.attributes.site_development_phase == 'experimental' %}
4
+ <span class="bsk-text-uppercase bsk-label bsk-label-phase-{{ site.bas_style_kit_jekyll_theme.attributes.site_development_phase }}">{{ site.bas_style_kit_jekyll_theme.attributes.site_development_phase }}</span>
5
+ This is a new website – your <a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_feedback_href }}">feedback</a> will help us to improve it.
6
+ {% else %}
7
+ <span class="bsk-text-uppercase bsk-label bsk-label-{{ site.bas_style_kit_jekyll_theme.attributes.site_development_phase }}">{{ site.bas_style_kit_jekyll_theme.attributes.site_development_phase }}</span>
8
+ This website is used for testing – your <a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_feedback_href }}">feedback</a> will help us to improve it.
9
+ {% endunless %}
10
+ <hr />
11
+ </div>
12
+ {% endunless %}
@@ -0,0 +1,6 @@
1
+ <nav class="bsk-navbar">
2
+ <div class="{{ bsk_attributes_container_class }}">
3
+ {% include bas-style-kit/bsk-nav--header.html %}
4
+ {% include bas-style-kit/bsk-nav--collapse.html %}
5
+ </div>
6
+ </nav>
@@ -0,0 +1,4 @@
1
+ <div class="bsk-collapse bsk-navbar-collapse" id="navbar-collapse">
2
+ {% include bas-style-kit/bsk-nav-collapse--primary-navigation.html %}
3
+ {% include bas-style-kit/bsk-nav-collapse--secondary-navigation.html %}
4
+ </div>
@@ -0,0 +1,4 @@
1
+ <div class="bsk-navbar-header">
2
+ {% include bas-style-kit/bsk-nav-header--collapse-trigger.html %}
3
+ {% include bas-style-kit/bsk-nav-header--brand.html %}
4
+ </div>
@@ -0,0 +1,32 @@
1
+ {% if site.menus.site_navigation_primary %}
2
+ <ul class="bsk-nav bsk-navbar-nav">
3
+ {% for item in site.menus.site_navigation_primary %}
4
+ {% if item.children %}
5
+ {% assign is_active = false %}
6
+ {% for item in item.children %}
7
+ {% if page.url == item.url %}
8
+ {% assign is_active = true %}
9
+ {% endif %}
10
+ {% endfor %}
11
+ <li class="bsk-dropdown {% if is_active == true %}bsk-active{% endif %}">
12
+ <a class="bsk-dropdown-toggle" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
13
+ {{ item.title }} <span class="bsk-caret"></span>
14
+ </a>
15
+ <ul class="bsk-dropdown-menu">
16
+ {% for item in item.children %}
17
+ <li {% if page.url == item.url %}class="bsk-active"{% endif %}>
18
+ {% if page.url == item.url %}<span class="bsk-sr-only">(current)</span>{% endif %}
19
+ <a href="{{ item.url }}">{{ item.title }}</a>
20
+ </li>
21
+ {% endfor %}
22
+ </ul>
23
+ </li>
24
+ {% else %}
25
+ <li {% if page.url == item.url %}class="bsk-active"{% endif %}>
26
+ {% if page.url == item.url %}<span class="bsk-sr-only">(current)</span>{% endif %}
27
+ <a href="{{ item.url }}">{{ item.title }}</a>
28
+ </li>
29
+ {% endif %}
30
+ {% endfor %}
31
+ </ul>
32
+ {% endif %}
@@ -0,0 +1,20 @@
1
+ {% if site.menus.site_navigation_secondary %}
2
+ <ul class="bsk-nav bsk-navbar-nav bsk-navbar-right">
3
+ {% for item in site.menus.site_navigation_secondary %}
4
+ {% if item.children %}
5
+ <li class="bsk-dropdown">
6
+ <a class="bsk-dropdown-toggle" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
7
+ {{ item.title }} <span class="bsk-caret"></span>
8
+ </a>
9
+ <ul class="bsk-dropdown-menu">
10
+ {% for sub_item in item.children %}
11
+ <li><a href="{{ sub_item.url }}">{{ sub_item.title }}</a></li>
12
+ {% endfor %}
13
+ </ul>
14
+ </li>
15
+ {% else %}
16
+ <li><a href="{{ item.url }}">{{ item.title }}</a></li>
17
+ {% endif %}
18
+ {% endfor %}
19
+ </ul>
20
+ {% endif %}
@@ -0,0 +1,8 @@
1
+ <a class="bsk-navbar-brand {% if site.bas_style_kit_jekyll_theme.attributes.site_brand.img %}bsk-navbar-brand-image-{{ site.bas_style_kit_jekyll_theme.attributes.site_brand.img_size }}{% endif %}" href="{{ site.bas_style_kit_jekyll_theme.attributes.site_brand.href }}">
2
+ {% if site.bas_style_kit_jekyll_theme.attributes.site_brand.img %}
3
+ <img {% if site.bas_style_kit_jekyll_theme.attributes.site_brand.text %}class="bsk-fix-navbar-brand-img-txt"{% endif %} src="{{ site.bas_style_kit_jekyll_theme.attributes.site_brand.img }}">
4
+ {% endif %}
5
+ {% if site.bas_style_kit_jekyll_theme.attributes.site_brand.text %}
6
+ {{ site.bas_style_kit_jekyll_theme.attributes.site_brand.text }}
7
+ {% endif %}
8
+ </a>
@@ -0,0 +1,6 @@
1
+ <button class="bsk-navbar-toggle bsk-collapsed" type="button" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
2
+ <span class="bsk-sr-only">Toggle navigation</span>
3
+ <span class="bsk-icon-bar"></span>
4
+ <span class="bsk-icon-bar"></span>
5
+ <span class="bsk-icon-bar"></span>
6
+ </button>
@@ -0,0 +1 @@
1
+ <head></head>
@@ -0,0 +1,4 @@
1
+ ---
2
+ layout: none
3
+ ---
4
+ {{ content }}
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: blank
3
+ ---
4
+ <!DOCTYPE html>
5
+ <html lang="en-GB">
6
+ {% include bas-style-kit/bsk-head.html %}
7
+ {% include bas-style-kit/bsk-body.html %}
8
+ </html>
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: blank
3
+ ---
4
+ <!DOCTYPE html>
5
+ <html lang="en-GB">
6
+ {% include bas-style-kit/bsk-head.html %}
7
+ {% include bas-style-kit/bsk-body--standard.html %}
8
+ </html>