jekyll-theme-profile 1.8.5 → 1.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/assets/js/theme-toggle.js +4 -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: 4c338ecc61d0ef11ef731ad95b3dc73329e4161824080d94038b6b040d66c44c
|
4
|
+
data.tar.gz: 0cc76009af611f8d86b984feb46399501ecb7fddf8259de967f64f01cde81098
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aad022b02d14dccb49e37e9426d0ad969c18bcdd8b9bcb80e8b97baa46335a52edbac218b170ef54f99c910549192a43772a0fd9f32e0131d805f74be6e9a885
|
7
|
+
data.tar.gz: da4406630319fba0bddd46bf83bd5b072d12e83aae62d0b7fb5b87b27d65dc6cc9508c8fd0391114831e524c55da55287889fea452968df40e32f1aeb6ccc816
|
data/README.md
CHANGED
@@ -99,7 +99,7 @@ jobs:
|
|
99
99
|
JEKYLL_ENV: production
|
100
100
|
JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
101
101
|
- name: Upload artifact
|
102
|
-
uses: actions/upload-pages-artifact@
|
102
|
+
uses: actions/upload-pages-artifact@v3
|
103
103
|
|
104
104
|
# Deployment job
|
105
105
|
deploy:
|
@@ -112,7 +112,7 @@ jobs:
|
|
112
112
|
steps:
|
113
113
|
- name: Deploy to GitHub Pages
|
114
114
|
id: deployment
|
115
|
-
uses: actions/deploy-pages@
|
115
|
+
uses: actions/deploy-pages@v4
|
116
116
|
|
117
117
|
```
|
118
118
|
|
data/assets/js/theme-toggle.js
CHANGED
@@ -24,7 +24,9 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
24
24
|
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
|
25
25
|
expires = "; expires=" + date.toUTCString();
|
26
26
|
}
|
27
|
-
|
27
|
+
|
28
|
+
// Updated cookie settings
|
29
|
+
document.cookie = name + "=" + (value || "") + expires + "; path=/; samesite=Strict; secure";
|
28
30
|
}
|
29
31
|
|
30
32
|
function getCookie(name) {
|
@@ -58,6 +60,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
58
60
|
}
|
59
61
|
|
60
62
|
function updateThemeIcon(nextMode) {
|
63
|
+
var nextIcon;
|
61
64
|
if (nextMode === 'dark') {
|
62
65
|
nextIcon = 'moon';
|
63
66
|
} else if (nextMode === 'light') {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-profile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Allison Thackston
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|