bulma-clean-theme 1.0.1 → 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 +1 -1
- data/_includes/cookie-banner.html +0 -4
- data/_includes/google-analytics.html +17 -8
- data/_includes/head.html +3 -0
- 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
@@ -53,7 +53,7 @@ If you are deploying to GitHub pages using their default build process, then you
|
|
53
53
|
|
54
54
|
```yaml
|
55
55
|
# With GitHub Pages Gem
|
56
|
-
remote_theme: chrisrhymes/bulma-clean-theme
|
56
|
+
remote_theme: chrisrhymes/bulma-clean-theme@v0.14.0
|
57
57
|
```
|
58
58
|
|
59
59
|
## Documentation
|
@@ -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">
|
@@ -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
|