jekyll-theme-bas-style-kit 0.3.0.pre.rc1 → 0.3.0.pre.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/README.md +3 -8
- data/_config.yml +2 -0
- data/_data/bas-style-kit/bsk-vars.yml +1 -1
- data/_includes/bas-style-kit/bsk-body--core-scripts.html +3 -0
- data/_includes/bas-style-kit/bsk-footer--legal-policies.html +1 -1
- data/_includes/bas-style-kit/bsk-head--core-styles.html +3 -0
- data/_includes/bas-style-kit/bsk-header--cookie-notice.html +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1fdead0e79877f66d7b2c5740259a2578bf0bc3aed06b537625817c34f85189
|
4
|
+
data.tar.gz: d405e42e94685793ba320a5309bc3fb2746e278b730d7ef607630ef5cd871e2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a1e95eef706f673a86f19ade738f7f0c78082838631abda136f21c11731be1e3fb51034bd5eecebd19fe714f4cca3cc265d3184209c374290a617c6f28048e6
|
7
|
+
data.tar.gz: 0c21374c28d7dedb3327be193d1995c9df924f18d048f2ab995dfc7c9d9bdc1174e1cf4598603b77ce595d6d91ba3f3bfe72b8fd507795f1360f04f342757dc9
|
data/CHANGELOG.md
CHANGED
@@ -30,6 +30,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
30
30
|
* *bsk--standard* layout which implements the Style Kit with typical elements such as a header and footer
|
31
31
|
* CSS files are now loaded from a data file, as with JavaScript
|
32
32
|
* CSS and JavaScript files can and do use Sub-Resource Integrity (SRI) for better security
|
33
|
+
* Additional CSS and JavaScript files can be added site wide, in addition to specific pages
|
33
34
|
* Jekyll Menus plugin
|
34
35
|
* Jekyll Tidy plugin
|
35
36
|
|
data/README.md
CHANGED
@@ -28,11 +28,6 @@ Add these lines to your `_config.yml` to use the Style Kit theme:
|
|
28
28
|
|
29
29
|
```yaml
|
30
30
|
theme: jekyll-theme-bas-style-kit
|
31
|
-
|
32
|
-
# If your site uses additional plugins, append these items
|
33
|
-
plugins:
|
34
|
-
- jekyll-menus
|
35
|
-
- jekyll-tidy
|
36
31
|
```
|
37
32
|
|
38
33
|
## Usage
|
@@ -145,8 +140,8 @@ Refer to [Jekyll's documentation](https://jekyllrb.com/docs/variables/) for gene
|
|
145
140
|
|
146
141
|
| Variable | Fully Qualified Variable | Purpose | Example | Notes |
|
147
142
|
| --------------- | ------------------------------------------------ | ----------------------------------------------- | ------- | ----- |
|
148
|
-
| `theme_version` | `site.data.bas-style-kit.
|
149
|
-
| `bsk_version` | `site.data.bas-style-kit.
|
143
|
+
| `theme_version` | `site.data.bas-style-kit.bsk-vars.theme_version` | Version of this theme | `0.3.0` | - |
|
144
|
+
| `bsk_version` | `site.data.bas-style-kit.bsk-vars.bsk_version` | Version of the Style Kit used within this theme | `0.3.0` | - |
|
150
145
|
|
151
146
|
### Configuration options
|
152
147
|
|
@@ -297,7 +292,7 @@ $ docker-compose run app gem build jekyll-theme-bas-style-kit.gemspec
|
|
297
292
|
$ docker-compose run app gem push jekyll-theme-bas-style-kit-*.gem
|
298
293
|
```
|
299
294
|
|
300
|
-
**Note:** Add `entrypoint: ash` to the `app` service in `docker-compose.yml`
|
295
|
+
**Note:** Add `entrypoint: ash` to the `app` service in `docker-compose.yml` to run these commands
|
301
296
|
|
302
297
|
## Issue tracking
|
303
298
|
|
data/_config.yml
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
{% for script in site.data.bas-style-kit.bsk-js %}
|
2
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
3
|
{% endfor %}
|
4
|
+
{% for script in site.bas_style_kit_jekyll_theme.attributes.site_scripts %}
|
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 %}
|
4
7
|
{% for script in page.body_js_files %}
|
5
8
|
<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
9
|
{% endfor %}
|
@@ -5,4 +5,4 @@
|
|
5
5
|
<li><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.copyright_href }}"> Copyright</a></li>
|
6
6
|
<li><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.privacy_href }}"> Privacy</a></li>
|
7
7
|
</ul>
|
8
|
-
</div>
|
8
|
+
</div>
|
@@ -1,6 +1,9 @@
|
|
1
1
|
{% for style in site.data.bas-style-kit.bsk-css %}
|
2
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
3
|
{% endfor %}
|
4
|
+
{% for style in site.bas_style_kit_jekyll_theme.attributes.site_styles %}
|
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 %}
|
4
7
|
{% for style in page.body_css_files %}
|
5
8
|
<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
9
|
{% endfor %}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<div class="bsk-fix-alert-static-top-{{ site.bas_style_kit_jekyll_theme.attributes.container }}-container-wrapper">
|
2
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'>
|
3
|
+
<div class="bsk-alert bsk-alert-static-top bsk-alert-dismissible bsk-alert-solid bsk-alert-cookie-notice" data-bsk-role='cookie-notice'>
|
4
4
|
<button class="bsk-close" type="button" data-dismiss="alert" aria-label="Close">
|
5
5
|
<i class="fa fa-times" aria-hidden="true"></i>
|
6
6
|
</button>
|
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.3.0.pre.
|
4
|
+
version: 0.3.0.pre.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Fennell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|