bay_jekyll_theme 1.0.19 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +2 -2
- data/_includes/footer.html +22 -20
- data/assets/js/site.js +15 -7
- metadata +3 -3
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,18 @@
|
|
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
|
+
|
11
|
+
### [1.0.20](https://github.com/eliottvincent/bay/compare/v1.0.19...v1.0.20) (2023-10-19)
|
12
|
+
|
13
|
+
### Features
|
14
|
+
|
15
|
+
- Hide "Follow" section when no items in `footer.follow`
|
16
|
+
|
5
17
|
### [1.0.19](https://github.com/eliottvincent/bay/compare/v1.0.18...v1.0.19) (2022-10-19)
|
6
18
|
|
7
19
|
### Bug Fixes
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Bay
|
2
2
|
|
3
3
|
[![Version](https://img.shields.io/gem/v/bay_jekyll_theme)](https://rubygems.org/gems/bay_jekyll_theme)
|
4
4
|
[![Downloads](https://img.shields.io/gem/dt/bay_jekyll_theme)](https://rubygems.org/gems/bay_jekyll_theme)
|
@@ -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
@@ -27,34 +27,36 @@
|
|
27
27
|
</div>
|
28
28
|
|
29
29
|
<div class="footer-col footer-col-2">
|
30
|
-
|
30
|
+
{% if site.footer.follow and site.footer.follow.size > 0 %}
|
31
|
+
<h4>FOLLOW</h4>
|
31
32
|
|
32
|
-
|
33
|
-
|
34
|
-
|
33
|
+
<div class="social-links follow-links">
|
34
|
+
{% for follow in site.footer.follow %}
|
35
|
+
<div class="social-link">
|
35
36
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
37
|
+
{% assign follow_icon_path = "/assets/img/icons/" | append: follow.name | downcase | append: ".png" | absolute_url %}
|
38
|
+
<img
|
39
|
+
src="{{ follow_icon_path }}"
|
40
|
+
alt="{{ follow.name | downcase }}"
|
41
|
+
/>
|
42
|
+
<a href="{{ follow.link }}">
|
43
|
+
{% if follow.value and follow.value != "" and follow.value != nil %}
|
44
|
+
{{ follow.value }}
|
45
|
+
{% else %}
|
46
|
+
{{ follow.name }}
|
47
|
+
{% endif %}
|
48
|
+
</a>
|
49
|
+
</div>
|
49
50
|
|
50
|
-
|
51
|
-
|
51
|
+
{% endfor %}
|
52
|
+
</div>
|
53
|
+
{% endif %}
|
52
54
|
</div>
|
53
55
|
|
54
56
|
{% if site.footer.show_powered_by == true %}
|
55
57
|
<div class="footer-col footer-col-3 powered-by">
|
56
58
|
<p>
|
57
|
-
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>
|
58
60
|
</p>
|
59
61
|
</div>
|
60
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
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
version: '0'
|
107
107
|
requirements: []
|
108
|
-
rubygems_version: 3.3.
|
108
|
+
rubygems_version: 3.3.26
|
109
109
|
signing_key:
|
110
110
|
specification_version: 4
|
111
111
|
summary: A simple and minimal Jekyll theme..
|