bay_jekyll_theme 1.0.20 → 1.0.21
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/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/_includes/footer.html +1 -1
- data/assets/js/site.js +15 -7
- 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: d232430dcbe57d7bd932819337dcee8ae1cad47ae8edfec107d028c011d8c444
|
|
4
|
+
data.tar.gz: a5c9f8dceae0c52994537d671ef07903563b9d40dc438ab1440ef9635b3b47c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 729462bd151e141b0636ff747f93746ab5e0891f38d4cf43f4b7ede681846d4f5f15c42c93cb05d4634ebe12b7725e9708f3ee3d794338c7e54891202a42a230
|
|
7
|
+
data.tar.gz: 9d5795f8e217c12af797ecc8f4c16d62c3304ce8cf98afa50b98c9310e513d923c9a4092a4d8197aea4ae62899f119ea8c4979cc21ebbfb4ea3b2e3c6f6a5a41
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
### [1.0.21](https://github.com/eliottvincent/bay/compare/v1.0.20...v1.0.21) (2024-05-23)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- Year displayed in footer is now truly dynamic (no need to re-deploy)
|
|
10
|
+
|
|
5
11
|
### [1.0.20](https://github.com/eliottvincent/bay/compare/v1.0.19...v1.0.20) (2023-10-19)
|
|
6
12
|
|
|
7
13
|
### Features
|
data/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Inspired by [dangrover.com](http://dangrover.com/). Current theme used at [eliot
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
The easiest solution is to [fork this repo](https://github.com/eliottvincent/bay/fork).
|
|
16
|
-
If you want to start from a clean website, follow the steps
|
|
16
|
+
If you want to start from a clean website, follow the steps below:
|
|
17
17
|
|
|
18
18
|
Create a new Jekyll website:
|
|
19
19
|
```
|
data/_includes/footer.html
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
{% if site.footer.show_powered_by == true %}
|
|
57
57
|
<div class="footer-col footer-col-3 powered-by">
|
|
58
58
|
<p>
|
|
59
|
-
powered by <a href="https://github.com/eliottvincent/bay">Bay</a> |
|
|
59
|
+
powered by <a href="https://github.com/eliottvincent/bay">Bay</a> | <span id="year"></span>
|
|
60
60
|
</p>
|
|
61
61
|
</div>
|
|
62
62
|
{% endif %}
|
data/assets/js/site.js
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Menu
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
$("a.menu-icon").on("click", function(event) {
|
|
5
|
+
var w = $(".menu");
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
w.css({
|
|
8
|
+
display: (w.css("display") === "none")
|
|
9
9
|
? "block"
|
|
10
10
|
: "none"
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Footer year
|
|
16
|
+
*/
|
|
17
|
+
$().ready(function() {
|
|
18
|
+
$("#year").text(new Date().getFullYear());
|
|
19
|
+
});
|
|
13
20
|
|
|
14
21
|
/**
|
|
15
|
-
*
|
|
22
|
+
* WeChat widget
|
|
16
23
|
*/
|
|
17
24
|
function moveWidget(event) {
|
|
18
25
|
var w = $("#wechat-widget");
|
|
@@ -25,6 +32,7 @@ function moveWidget(event) {
|
|
|
25
32
|
|
|
26
33
|
$("a#wechat-link").on("mouseenter", function(event) {
|
|
27
34
|
$("#wechat-widget").css({ display: "block" });
|
|
35
|
+
|
|
28
36
|
moveWidget(event);
|
|
29
37
|
});
|
|
30
38
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bay_jekyll_theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.21
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eliott Vincent
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|