bay_jekyll_theme 1.0.20 → 1.0.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1ed8c0f2d2b0050ef99c19f1e4f4c0af5b21a6f768ef4a6eac3e3de4e0ca695
4
- data.tar.gz: fa6fd30dc5a7170ecf78eb58168b41e86368a25e9e13d34ce419653de9cc5f7d
3
+ metadata.gz: d232430dcbe57d7bd932819337dcee8ae1cad47ae8edfec107d028c011d8c444
4
+ data.tar.gz: a5c9f8dceae0c52994537d671ef07903563b9d40dc438ab1440ef9635b3b47c7
5
5
  SHA512:
6
- metadata.gz: c1c594c55a9ea7480bf94191712593cffe9dbc47899181b67e5e647712bff8c4a775ca9d3f7c3c6022711213ad1c5a2f9ecce93e7163e2f869ab3562297802fc
7
- data.tar.gz: b26beaad31010ec2b3c4d506f1d7892709756a2f17f7044de3795f6443e7379d175dfa6ecca8f779f83391bd438cefa5f55b8e8a6388a14e74a8092a9889a483
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 bellow:
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
  ```
@@ -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> | {{ 'now' | date: "%Y" }}
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
- $("a.menu-icon").on("click", function(event) {
5
- var w = $(".menu");
4
+ $("a.menu-icon").on("click", function(event) {
5
+ var w = $(".menu");
6
6
 
7
- w.css({
8
- display: w.css("display") === "none"
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
- * Wechat widget
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.20
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: 2023-10-19 00:00:00.000000000 Z
11
+ date: 2024-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll