jekyll-theme-doodle 5.1.6 → 5.1.7
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 +2 -1
- data/_includes/head.html +2 -2
- data/_layouts/default.html +1 -1
- data/assets/theme-assets/js/theme.js +0 -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: f5aed0b3e91836678ba06dfaa52335f888bac660dcc7b0202d16148e7c40a7f8
|
4
|
+
data.tar.gz: 23baa3bf9fa923f591344c5cec57cba4642e8fec924f46bb0a921da16ef1a993
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3db04474c1bed02c293d1f1d05ce09ce672a5c096d3fb3d22a7a0184cc90772a205490214a7974d950e3e3fa45fe16580ce7bad8def5a5bdb624aa54b4524de7
|
7
|
+
data.tar.gz: 80a2ec83675fbf5e1790044338b66ce72a1345084e349a57463110d064e346d6ac3269f0ee5a848ccc1a8cd6aaa1e7ea18bf3961a1a8303cd604271dd495199d
|
data/README.md
CHANGED
@@ -112,7 +112,6 @@ To add a tagline/description below the site title, add a tagline property to \_c
|
|
112
112
|
tagline: "Your awesome tagline"
|
113
113
|
```
|
114
114
|
|
115
|
-
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
116
115
|
|
117
116
|
### Google analytics
|
118
117
|
|
@@ -137,6 +136,8 @@ icon: "/assets/icons/about.svg"
|
|
137
136
|
|
138
137
|
- [ ] Add support for comments
|
139
138
|
- [ ] Search functionality
|
139
|
+
- [ ] automatic table of contents generation (button in mobile view/ sidebar in desktop view)
|
140
|
+
|
140
141
|
|
141
142
|
## Contributing
|
142
143
|
|
data/_includes/head.html
CHANGED
@@ -33,9 +33,9 @@
|
|
33
33
|
"light-cyan": "#81d5cd",
|
34
34
|
};
|
35
35
|
const root = document.querySelector("html");
|
36
|
-
|
36
|
+
let theme = window.localStorage.getItem("theme");
|
37
37
|
if (theme === null || !(theme in colors)) {
|
38
|
-
|
38
|
+
theme = "dark-pink";
|
39
39
|
window.localStorage.setItem("theme", theme);
|
40
40
|
}
|
41
41
|
root.className = theme;
|
data/_layouts/default.html
CHANGED
@@ -10,7 +10,6 @@
|
|
10
10
|
const newTheme = `${mode}-${color.split("-")[1]}`;
|
11
11
|
window.localStorage.setItem("theme", newTheme);
|
12
12
|
root.className = newTheme;
|
13
|
-
const selectedColor = event.target.getAttribute("data-color");
|
14
13
|
};
|
15
14
|
}
|
16
15
|
|
@@ -29,7 +28,6 @@
|
|
29
28
|
});
|
30
29
|
|
31
30
|
const darkModeToggle = document.getElementById("darkModeToggle");
|
32
|
-
|
33
31
|
darkModeToggle.checked = theme.startsWith("dark") ? true : false;
|
34
32
|
darkModeToggle.addEventListener("change", () => {
|
35
33
|
let activeMode = root.className;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-doodle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gul Noor
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|