bay_jekyll_theme 1.1.0 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/README.md +15 -11
  4. data/_includes/footer.html +6 -6
  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: 3718ef143898b6781cd17cecbdb4a77bc11f7c29ca60b478cfcb8776f6964832
4
+ data.tar.gz: 92dcca24ea5ad6dfdfcf0e9bce196ff573366e59069a911dd430a84c92c5a8b2
5
5
  SHA512:
6
- metadata.gz: dc71fbfb943e9749a1f377be508da3409e347d82a9aa1dd990c4132d942ca797a325da3bc2321b860cdaf0e44c000e40314d13e9449f45796df0a6d36984e5d8
7
- data.tar.gz: be008019531be1d454ad4d97071240417068f319ea6534b10cc26c78895f2d22d6f1245d696f165214d884b84216a89bd66ea7da41b40206fcf1af0fa57953db
6
+ metadata.gz: f1d4c375c87b82d24bc40ef5e1a5230afa4f4dbe02cbb95b8ad11797c111d00b3bc0b95bba05e495aeb3180cf7301d399e7cde1445d940a41896d6359f36889c
7
+ data.tar.gz: 9103a9fece4cc907caf457df164653db0815478c17aa28f95327eba7b50912777db27a306654d8909a74901146f373a8a522cc602ad6927f9668c16a1dc27aa2
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.1.2](https://github.com/eliottvincent/bay/compare/v1.1.1...v1.1.2) (2024-05-23)
6
+
7
+ ### Features
8
+
9
+ - Cloak by default
10
+
11
+ ### [1.1.1](https://github.com/eliottvincent/bay/compare/v1.1.0...v1.1.1) (2024-05-23)
12
+
13
+ ### Bug Fixes
14
+
15
+ - Fix images path
16
+
5
17
  ### [1.1.0](https://github.com/eliottvincent/bay/compare/v1.0.21...v1.1.0) (2024-05-23)
6
18
 
7
19
  ### Features
data/README.md CHANGED
@@ -73,27 +73,31 @@ 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
+ - type: wechat
80
80
  value: YourWeChatUsername
81
81
  link: "#"
82
82
  follow:
83
- - name: Twitter
83
+ - type: twitter
84
+ name: Twitter
84
85
  link: http://twitter.com/YourTwitterUsername
85
86
  username: "@YourTwitterUsername"
86
- - name: Facebook
87
+ - type: facebook
88
+ name: Facebook
87
89
  link: http://facebook.com/YourFacebookUsername
88
- - name: LinkedIn
90
+ - type: linkedin
91
+ name: LinkedIn
89
92
  link: http://linkedin.com/in/YourLinkedInUsername
90
- - name: GitHub
93
+ - type: github
94
+ name: GitHub
91
95
  link: http://github.com/YourGitHubUsername
92
- - name: Dribbble
96
+ - type: dribbble
97
+ name: Dribbble
93
98
  link: https://dribbble.com/YourDribbbleUsername
94
- - name: Weibo
95
- link: http://weibo.com/u/YourWeiboUsername
96
- - name: RSS
99
+ - type: rss
100
+ name: RSS
97
101
  link: /feed.xml
98
102
  ```
99
103
  Re-run `jekyll serve` to see the footer updated.
@@ -8,14 +8,14 @@
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" %}
18
- {% if contact.cloak == true %}
18
+ {% if contact.cloak != false %}
19
19
  {% assign email_parts = contact.value | split: "@" %}
20
20
  {% assign user = email_parts[0] %}
21
21
  {% assign domain = email_parts[1] | split: "." %}
@@ -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.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eliott Vincent