bulma-clean-theme 1.0.0 → 1.0.2
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 +4 -4
- data/README.md +18 -9
- data/_includes/cookie-banner.html +0 -4
- data/_includes/google-analytics.html +17 -8
- data/_includes/head.html +3 -0
- data/_includes/notification.html +4 -1
- data/_layouts/default.html +1 -4
- data/_posts/2019-02-09-getting-started-with-bulma-clean-theme.markdown +1 -1
- data/_posts/2020-05-08-creating-a-docs-site-with-bulma-clean-theme.markdown +2 -2
- 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: d91b07cd93c887ed50ae17b5308c7a79f2d6ff601c3ae7e144f7d6e10b88f8ce
|
4
|
+
data.tar.gz: dcf490b0d190f187ebfb3f2246bee0fee915875fc970411301121e3a35b67b15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 205e38b870f41bb6d279ce27ed2745391e5a120d6e2407ef878a56c868fa308360b5c38c03aec0635714938094e6e440c6f92b605ed259a0a39c5a8481e4d937
|
7
|
+
data.tar.gz: 6a54fee3d750c50b24fdb716a78f5f911e2d2c82bd75fb102472c0f29049f34f5b2bd568e9c515003c6f39a11b6961d17cd63833cdefd9610bf4286c0df40ed1
|
data/README.md
CHANGED
@@ -31,13 +31,6 @@ And add this line to your Jekyll site's `_config.yml`:
|
|
31
31
|
theme: bulma-clean-theme
|
32
32
|
```
|
33
33
|
|
34
|
-
If you are deploying to GitHub pages, then you can also install the [GitHub Pages gem](https://github.com/github/pages-gem) and use `remote_theme` instead of `theme` in your `_config.yml`. **Note that the GitHub Pages gem requires Jekyll version 3.9.**
|
35
|
-
|
36
|
-
```yaml
|
37
|
-
# With GitHub Pages Gem
|
38
|
-
remote_theme: chrisrhymes/bulma-clean-theme
|
39
|
-
```
|
40
|
-
|
41
34
|
And then execute:
|
42
35
|
|
43
36
|
$ bundle
|
@@ -46,13 +39,30 @@ Or install it yourself as:
|
|
46
39
|
|
47
40
|
$ gem install bulma-clean-theme
|
48
41
|
|
42
|
+
### GitHub pages
|
43
|
+
|
44
|
+
### v1.0
|
45
|
+
|
46
|
+
To deploy to GitHub pages using v1.x you will need to use GitHub Actions. Please see the [upgrade guide](https://www.csrhymes.com/bulma-clean-theme/docs/getting-started/upgrading-to-v1/) for more information.
|
47
|
+
|
48
|
+
### v0.x
|
49
|
+
|
50
|
+
If you are deploying to GitHub pages using their default build process, then you can install v0.x of the [GitHub Pages gem](https://github.com/github/pages-gem) and use `remote_theme` instead of `theme` in your `_config.yml`.
|
51
|
+
|
52
|
+
**Note that the GitHub Pages gem requires Jekyll version 3.9 and version 0.x of Bulma Clean Theme**
|
53
|
+
|
54
|
+
```yaml
|
55
|
+
# With GitHub Pages Gem
|
56
|
+
remote_theme: chrisrhymes/bulma-clean-theme@v0.14.0
|
57
|
+
```
|
58
|
+
|
49
59
|
## Documentation
|
50
60
|
|
51
61
|
Check out the demo site for the [Documentation](https://www.csrhymes.com/bulma-clean-theme/docs/)
|
52
62
|
|
53
63
|
## Upgrading to v1
|
54
64
|
|
55
|
-
There are several breaking changes for v1. Please read the [upgrade guide](https://www.csrhymes.com/bulma-clean-theme/docs/upgrading-to-v1/) for more information.
|
65
|
+
There are several breaking changes for v1. Please read the [upgrade guide](https://www.csrhymes.com/bulma-clean-theme/docs/getting-started/upgrading-to-v1/) for more information.
|
56
66
|
|
57
67
|
## Contributing
|
58
68
|
|
@@ -67,4 +77,3 @@ Your theme is set up just like a normal Jekyll site! To test your theme, run `bu
|
|
67
77
|
## License
|
68
78
|
|
69
79
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
70
|
-
|
@@ -5,14 +5,23 @@
|
|
5
5
|
dataLayer.push(arguments);
|
6
6
|
}
|
7
7
|
|
8
|
-
// Set default consent to 'denied' as a placeholder
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
8
|
+
// Set default consent to 'denied' as a placeholder unless already accepted
|
9
|
+
var cookiesAccepted = Cookies.get('cookiesAccepted');
|
10
|
+
if (cookiesAccepted === 'true') {
|
11
|
+
gtag('consent', 'default', {
|
12
|
+
ad_storage: 'granted',
|
13
|
+
ad_user_data: 'granted',
|
14
|
+
ad_personalization: 'granted',
|
15
|
+
analytics_storage: 'granted',
|
16
|
+
});
|
17
|
+
} else {
|
18
|
+
gtag('consent', 'default', {
|
19
|
+
ad_storage: 'denied',
|
20
|
+
ad_user_data: 'denied',
|
21
|
+
ad_personalization: 'denied',
|
22
|
+
analytics_storage: 'denied',
|
23
|
+
});
|
24
|
+
}
|
16
25
|
</script>
|
17
26
|
<!-- Google tag (gtag.js) -->
|
18
27
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
|
data/_includes/head.html
CHANGED
@@ -13,6 +13,9 @@
|
|
13
13
|
{% endif %}
|
14
14
|
>
|
15
15
|
<script defer src="https://unpkg.com/alpinejs@3.9.0/dist/cdn.min.js"></script>
|
16
|
+
<script
|
17
|
+
src="https://cdn.jsdelivr.net/npm/js-cookie@3.0.5/dist/js.cookie.min.js"
|
18
|
+
></script>
|
16
19
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
|
17
20
|
{% unless site.hide_share_buttons %}
|
18
21
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma-social@1/bin/bulma-social.min.css">
|
data/_includes/notification.html
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
<div x-data="{visible: true}" markdown="0">
|
2
|
-
<div
|
2
|
+
<div
|
3
|
+
class="notification {{ include.status | default: 'is-warning' }} my-4"
|
4
|
+
x-show.transition.duration.300ms="visible"
|
5
|
+
>
|
3
6
|
{% if include.dismissable %}
|
4
7
|
<button class="delete" x-on:click="visible = false"></button>
|
5
8
|
{% endif %}
|
data/_layouts/default.html
CHANGED
@@ -14,10 +14,7 @@
|
|
14
14
|
<html
|
15
15
|
dir="{{ site.direction | default: 'ltr' }}"
|
16
16
|
lang="{{ site.lang | default: 'en' }}"
|
17
|
-
{% if site.fixed_navbar %}
|
18
|
-
class="has-navbar-fixed-{{ site.fixed_navbar }}"
|
19
|
-
{% endif %}
|
20
|
-
class="theme-light"
|
17
|
+
class="{% if site.fixed_navbar %} has-navbar-fixed-{{ site.fixed_navbar }} {% endif %} {% if site.force_theme %} theme-{{ site.force_theme }} {% endif %}"
|
21
18
|
>
|
22
19
|
{% include head.html %}
|
23
20
|
<body>
|
@@ -128,7 +128,7 @@ For the site to work with Github Pages, all you need to do is update the _config
|
|
128
128
|
|
129
129
|
```yaml
|
130
130
|
#theme: bulma-clean-theme
|
131
|
-
remote_theme: chrisrhymes/bulma-clean-theme
|
131
|
+
remote_theme: chrisrhymes/bulma-clean-theme@v0.14.0
|
132
132
|
```
|
133
133
|
|
134
134
|
And then push up your changes to Github as normal.
|
@@ -42,10 +42,10 @@ gem "bulma-clean-theme", '0.7.2'
|
|
42
42
|
gem 'github-pages', group: :jekyll_plugins
|
43
43
|
```
|
44
44
|
|
45
|
-
2. Open the `_config.yml` and comment out or delete the line `theme: minima` and replace it with `remote_theme: chrisrhymes/bulma-clean-theme`, then add `github-pages` to the list of plugins. Update the baseurl to your GitHub repo name, in this example we are using `my-project` as the repo name
|
45
|
+
2. Open the `_config.yml` and comment out or delete the line `theme: minima` and replace it with `remote_theme: chrisrhymes/bulma-clean-theme@v0.14.0`, then add `github-pages` to the list of plugins. Update the baseurl to your GitHub repo name, in this example we are using `my-project` as the repo name
|
46
46
|
```yaml
|
47
47
|
#theme: minima
|
48
|
-
remote_theme: chrisrhymes/bulma-clean-theme
|
48
|
+
remote_theme: chrisrhymes/bulma-clean-theme@v0.14.0
|
49
49
|
baseurl: "/my-project"
|
50
50
|
plugins:
|
51
51
|
- github-pages
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulma-clean-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chrisrhymes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|