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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +41 -0
- data/LICENSE.md +4 -3
- data/README.md +170 -615
- data/_config.yml +61 -20
- data/_data/bas-style-kit/bsk-css.yml +5 -0
- data/_data/bas-style-kit/bsk-js.yml +13 -0
- data/_data/bas-style-kit/bsk-vars.yml +3 -0
- data/_data/menus.yml +19 -0
- data/_includes/bas-style-kit/body.html +3 -0
- data/_includes/bas-style-kit/bsk-body--analytics-script.html +9 -0
- data/_includes/bas-style-kit/bsk-body--back-to-top.html +2 -0
- data/_includes/bas-style-kit/bsk-body--core-scripts.html +8 -0
- data/_includes/bas-style-kit/bsk-body--standard-footer.html +16 -0
- data/_includes/bas-style-kit/bsk-body--standard-header.html +17 -0
- data/_includes/bas-style-kit/bsk-body--standard.html +15 -0
- data/_includes/bas-style-kit/bsk-body.html +9 -0
- data/_includes/bas-style-kit/bsk-footer--contents.html +0 -0
- data/_includes/bas-style-kit/bsk-footer--legal-policies.html +8 -0
- data/_includes/bas-style-kit/bsk-footer--ogl.html +9 -0
- data/_includes/bas-style-kit/bsk-head--core-meta.html +4 -0
- data/_includes/bas-style-kit/bsk-head--core-styles.html +6 -0
- data/_includes/bas-style-kit/bsk-head--favicon.html +2 -0
- data/_includes/bas-style-kit/bsk-head--seo-meta.html +4 -0
- data/_includes/bas-style-kit/bsk-head.html +6 -0
- data/_includes/bas-style-kit/bsk-header--cookie-notice.html +11 -0
- data/_includes/bas-style-kit/bsk-header--development-phase.html +12 -0
- data/_includes/bas-style-kit/bsk-header--site-navigation.html +6 -0
- data/_includes/bas-style-kit/bsk-nav--collapse.html +4 -0
- data/_includes/bas-style-kit/bsk-nav--header.html +4 -0
- data/_includes/bas-style-kit/bsk-nav-collapse--primary-navigation.html +32 -0
- data/_includes/bas-style-kit/bsk-nav-collapse--secondary-navigation.html +20 -0
- data/_includes/bas-style-kit/bsk-nav-header--brand.html +8 -0
- data/_includes/bas-style-kit/bsk-nav-header--collapse-trigger.html +6 -0
- data/_includes/bas-style-kit/head.html +1 -0
- data/_layouts/bas-style-kit/blank.html +4 -0
- data/_layouts/bas-style-kit/bsk--base.html +8 -0
- data/_layouts/bas-style-kit/bsk--standard.html +8 -0
- data/_layouts/bas-style-kit/html.html +8 -0
- data/screenshot.png +0 -0
- metadata +101 -34
- data/LICENSE-MIT.md +0 -21
- data/_data/bsk_jekyll_js.json +0 -22
- data/_data/bsk_jekyll_vars.json +0 -4
- data/_includes/layout/cookie-banner.html +0 -7
- data/_includes/layout/phase-banner.html +0 -15
- data/_includes/layout/site-footer.html +0 -26
- data/_includes/layout/site-navigation.html +0 -77
- data/_includes/snippets/back-to-top.html +0 -1
- data/_includes/snippets/body-js.html +0 -12
- data/_includes/snippets/google-analytics.html +0 -12
- data/_includes/snippets/head.html +0 -29
- data/_includes/snippets/is-something-wrong.html +0 -1
- data/_layouts/blank.html +0 -1
- data/_layouts/default.html +0 -20
- data/_layouts/html.html +0 -12
- data/assets/bsk-jekyll/css/jekyll-theme-bas-style-kit.scss +0 -75
- data/assets/bsk-jekyll/img/apple-touch-icon.png +0 -0
- data/assets/bsk-jekyll/js/cookie-banner.js +0 -32
- data/assets/css/main.scss +0 -7
- 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
|
4
|
-
#
|
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
|
-
#
|
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
|
-
|
12
|
+
plugins:
|
11
13
|
- jekyll-data
|
14
|
+
- jekyll-tidy
|
12
15
|
|
13
|
-
#
|
16
|
+
# Build settings
|
17
|
+
#
|
14
18
|
|
19
|
+
# Set default permalink format
|
15
20
|
permalink: pretty
|
16
21
|
|
17
|
-
#
|
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:
|
29
|
+
path: ''
|
27
30
|
values:
|
28
|
-
layout:
|
31
|
+
layout: 'bas-style-kit/bsk--standard'
|
29
32
|
|
30
|
-
#
|
33
|
+
# Theme settings
|
34
|
+
#
|
31
35
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
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,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'
|
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,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,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,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,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,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,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>
|