bay_jekyll_theme 1.1.0 → 1.1.1

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 +16 -11
  4. data/_includes/footer.html +5 -5
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5056d8aabe2a128b9b47d211c0fcb7b170735b08db7773347c5a9c88df1cc884
4
- data.tar.gz: 21300a88c8c746e894f581eebd92a26a398b3aae44b03485a2b8d30c1682bfaa
3
+ metadata.gz: f85fb481519a0f71ccd244f8cde138b2b2d42178d48275679ae0410536fa5b10
4
+ data.tar.gz: da84cf19c9d8078d2af1ddb10a7a7138af5751dc05e117375e98142c63993455
5
5
  SHA512:
6
- metadata.gz: dc71fbfb943e9749a1f377be508da3409e347d82a9aa1dd990c4132d942ca797a325da3bc2321b860cdaf0e44c000e40314d13e9449f45796df0a6d36984e5d8
7
- data.tar.gz: be008019531be1d454ad4d97071240417068f319ea6534b10cc26c78895f2d22d6f1245d696f165214d884b84216a89bd66ea7da41b40206fcf1af0fa57953db
6
+ metadata.gz: a0a6af407fdf56063d7191801b05a6e5caec4b63913ac7e47f2626edacf4ce03e4a8d94008b962f31e696914a93dfe24bc0bbddb6a7db398af2dfb8c2b15c642
7
+ data.tar.gz: 74adde7714c70a7250d829d50402906a2e92e6f9bb1f4b754a3dbc82a4e4d4226075415136977a25a18ec6e919a848e6d945e5c8243d4c6717393f4d854c61e4
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.1.1](https://github.com/eliottvincent/bay/compare/v1.1.0...v1.1.1) (2024-05-23)
6
+
7
+ ### Bug Fixes
8
+
9
+ - Fix images path
10
+
5
11
  ### [1.1.0](https://github.com/eliottvincent/bay/compare/v1.0.21...v1.1.0) (2024-05-23)
6
12
 
7
13
  ### Features
data/README.md CHANGED
@@ -73,27 +73,32 @@ Open the `_config.yml` file and add the following:
73
73
  footer:
74
74
  show_powered_by: true
75
75
  contact:
76
- - name: Email
76
+ - type: email
77
+ name: Email
77
78
  value: yourmail@domain.com
78
- link: mailto:yourmail@domain.com
79
- - name: WeChat
79
+ cloak: true
80
+ - type: wechat
80
81
  value: YourWeChatUsername
81
82
  link: "#"
82
83
  follow:
83
- - name: Twitter
84
+ - type: twitter
85
+ name: Twitter
84
86
  link: http://twitter.com/YourTwitterUsername
85
87
  username: "@YourTwitterUsername"
86
- - name: Facebook
88
+ - type: facebook
89
+ name: Facebook
87
90
  link: http://facebook.com/YourFacebookUsername
88
- - name: LinkedIn
91
+ - type: linkedin
92
+ name: LinkedIn
89
93
  link: http://linkedin.com/in/YourLinkedInUsername
90
- - name: GitHub
94
+ - type: github
95
+ name: GitHub
91
96
  link: http://github.com/YourGitHubUsername
92
- - name: Dribbble
97
+ - type: dribbble
98
+ name: Dribbble
93
99
  link: https://dribbble.com/YourDribbbleUsername
94
- - name: Weibo
95
- link: http://weibo.com/u/YourWeiboUsername
96
- - name: RSS
100
+ - type: rss
101
+ name: RSS
97
102
  link: /feed.xml
98
103
  ```
99
104
  Re-run `jekyll serve` to see the footer updated.
@@ -8,10 +8,10 @@
8
8
  {% for contact in site.footer.contact %}
9
9
  <div class="social-link contact-links">
10
10
 
11
- {% assign contact_icon_path = "/assets/img/icons/" | append: contact.name | downcase | append: ".png" | absolute_url %}
11
+ {% assign contact_icon_path = "/assets/img/icons/" | append: contact.type | downcase | append: ".png" | absolute_url %}
12
12
  <img
13
13
  src="{{ contact_icon_path }}"
14
- alt="{{ contact.name | downcase }}"
14
+ alt="{{ contact.type }}"
15
15
  />
16
16
 
17
17
  {% if contact.type == "email" %}
@@ -29,18 +29,18 @@
29
29
  data-resu="{{ reversed_user }}"
30
30
  data-eman-niamod="{{ reversed_domain_name }}"
31
31
  data-dlt-niamod="{{ reversed_domain_tld }}"
32
- id="{{ contact.name | downcase }}-link"
32
+ id="{{ contact.type }}-link"
33
33
  class="link email-link-cloaked"
34
34
  >
35
35
  {{ contact.name }}
36
36
  </span>
37
37
  {% else %}
38
- <a href="mailto:{{ contact.value }}" id="{{ contact.name | downcase }}-link">
38
+ <a href="mailto:{{ contact.value }}" id="{{ contact.type }}-link">
39
39
  {{ contact.value }}
40
40
  </a>
41
41
  {% endif %}
42
42
  {% else %}
43
- <a href="{{ contact.link }}" id="{{ contact.name | downcase }}-link">
43
+ <a href="{{ contact.link }}" id="{{ contact.type }}-link">
44
44
  {% if contact.value and contact.value != "" and contact.value != nil %}
45
45
  {{ contact.value }}
46
46
  {% else %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bay_jekyll_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eliott Vincent