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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '034284e7188701c76212897d4519c5ac3f2edca74901f5b71b18c55d71250f1a'
4
- data.tar.gz: 18714cfbe89f0abc07a70c63008a4f4fe4163f14ae02eea8feea3fd341b08b21
3
+ metadata.gz: d91b07cd93c887ed50ae17b5308c7a79f2d6ff601c3ae7e144f7d6e10b88f8ce
4
+ data.tar.gz: dcf490b0d190f187ebfb3f2246bee0fee915875fc970411301121e3a35b67b15
5
5
  SHA512:
6
- metadata.gz: 6090b96102799b0e1a4a07abeee86cd9aff6b184ba1acbe80e3f562e292d84b54de190fcebe724b3dc80a15a195339576b5c032bca8a4807e137dafcceec2491
7
- data.tar.gz: '09799e546a9dff9f6bc5729c92ed4158c4ce93f9a9f416b53422a2468d568c499522fa76b0011945a2d6a0896ff4fabf94d220f95337d6ef72fc62526eac104b'
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:v0.14.0
56
+ remote_theme: chrisrhymes/bulma-clean-theme@v0.14.0
57
57
  ```
58
58
 
59
59
  ## Documentation
@@ -1,8 +1,4 @@
1
1
  <div class="">
2
- <script
3
- src="https://cdn.jsdelivr.net/npm/js-cookie@3.0.5/dist/js.cookie.min.js"
4
- ></script>
5
-
6
2
  <div class="container py-6 px-4" id="cookieBanner">
7
3
  <div class="columns">
8
4
  <div class="column is-fullwidth ">
@@ -5,14 +5,23 @@
5
5
  dataLayer.push(arguments);
6
6
  }
7
7
 
8
- // Set default consent to 'denied' as a placeholder
9
- // Determine actual values based on your own requirements
10
- gtag('consent', 'default', {
11
- ad_storage: 'denied',
12
- ad_user_data: 'denied',
13
- ad_personalization: 'denied',
14
- analytics_storage: 'denied',
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.1
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-12 00:00:00.000000000 Z
11
+ date: 2024-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll