bay_jekyll_theme 1.0.19 → 1.0.20

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +1 -1
  4. data/_includes/footer.html +21 -19
  5. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 995b10227651ceb45ec2e0d201b9cfe42ad018a955583b95e9c8a71c60687914
4
- data.tar.gz: 21e26a40ec99579ca66df898f26bc41c571697a6a6e15fe53140180d5cd7cc5e
3
+ metadata.gz: c1ed8c0f2d2b0050ef99c19f1e4f4c0af5b21a6f768ef4a6eac3e3de4e0ca695
4
+ data.tar.gz: fa6fd30dc5a7170ecf78eb58168b41e86368a25e9e13d34ce419653de9cc5f7d
5
5
  SHA512:
6
- metadata.gz: 4648435cf93b6e96355f3e591ad9370208a8d1e9bff07805c4e76a0215bbc7cb83e513cd079e044da4d565c27f875ce223d5f71bf96d3a9194a6271d51a74b68
7
- data.tar.gz: 394787219edbec1c6e804519c3864e417fb61ec60ce970666da59e60c05c2ca8ffe986cd447f984e480423dd323e5942066f04252babe80b2b8e4887000ab594
6
+ metadata.gz: c1c594c55a9ea7480bf94191712593cffe9dbc47899181b67e5e647712bff8c4a775ca9d3f7c3c6022711213ad1c5a2f9ecce93e7163e2f869ab3562297802fc
7
+ data.tar.gz: b26beaad31010ec2b3c4d506f1d7892709756a2f17f7044de3795f6443e7379d175dfa6ecca8f779f83391bd438cefa5f55b8e8a6388a14e74a8092a9889a483
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.20](https://github.com/eliottvincent/bay/compare/v1.0.19...v1.0.20) (2023-10-19)
6
+
7
+ ### Features
8
+
9
+ - Hide "Follow" section when no items in `footer.follow`
10
+
5
11
  ### [1.0.19](https://github.com/eliottvincent/bay/compare/v1.0.18...v1.0.19) (2022-10-19)
6
12
 
7
13
  ### Bug Fixes
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # bay
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)
@@ -27,28 +27,30 @@
27
27
  </div>
28
28
 
29
29
  <div class="footer-col footer-col-2">
30
- <h4>FOLLOW</h4>
30
+ {% if site.footer.follow and site.footer.follow.size > 0 %}
31
+ <h4>FOLLOW</h4>
31
32
 
32
- <div class="social-links follow-links">
33
- {% for follow in site.footer.follow %}
34
- <div class="social-link">
33
+ <div class="social-links follow-links">
34
+ {% for follow in site.footer.follow %}
35
+ <div class="social-link">
35
36
 
36
- {% assign follow_icon_path = "/assets/img/icons/" | append: follow.name | downcase | append: ".png" | absolute_url %}
37
- <img
38
- src="{{ follow_icon_path }}"
39
- alt="{{ follow.name | downcase }}"
40
- />
41
- <a href="{{ follow.link }}">
42
- {% if follow.value and follow.value != "" and follow.value != nil %}
43
- {{ follow.value }}
44
- {% else %}
45
- {{ follow.name }}
46
- {% endif %}
47
- </a>
48
- </div>
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
- {% endfor %}
51
- </div>
51
+ {% endfor %}
52
+ </div>
53
+ {% endif %}
52
54
  </div>
53
55
 
54
56
  {% if site.footer.show_powered_by == true %}
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.19
4
+ version: 1.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eliott Vincent
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-19 00:00:00.000000000 Z
11
+ date: 2023-10-19 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.11
108
+ rubygems_version: 3.3.26
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: A simple and minimal Jekyll theme..