bay_jekyll_theme 1.1.0 → 1.1.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +15 -11
- data/_includes/footer.html +6 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3718ef143898b6781cd17cecbdb4a77bc11f7c29ca60b478cfcb8776f6964832
|
|
4
|
+
data.tar.gz: 92dcca24ea5ad6dfdfcf0e9bce196ff573366e59069a911dd430a84c92c5a8b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
-
|
|
76
|
+
- type: email
|
|
77
|
+
name: Email
|
|
77
78
|
value: yourmail@domain.com
|
|
78
|
-
|
|
79
|
-
- name: WeChat
|
|
79
|
+
- type: wechat
|
|
80
80
|
value: YourWeChatUsername
|
|
81
81
|
link: "#"
|
|
82
82
|
follow:
|
|
83
|
-
-
|
|
83
|
+
- type: twitter
|
|
84
|
+
name: Twitter
|
|
84
85
|
link: http://twitter.com/YourTwitterUsername
|
|
85
86
|
username: "@YourTwitterUsername"
|
|
86
|
-
-
|
|
87
|
+
- type: facebook
|
|
88
|
+
name: Facebook
|
|
87
89
|
link: http://facebook.com/YourFacebookUsername
|
|
88
|
-
-
|
|
90
|
+
- type: linkedin
|
|
91
|
+
name: LinkedIn
|
|
89
92
|
link: http://linkedin.com/in/YourLinkedInUsername
|
|
90
|
-
-
|
|
93
|
+
- type: github
|
|
94
|
+
name: GitHub
|
|
91
95
|
link: http://github.com/YourGitHubUsername
|
|
92
|
-
-
|
|
96
|
+
- type: dribbble
|
|
97
|
+
name: Dribbble
|
|
93
98
|
link: https://dribbble.com/YourDribbbleUsername
|
|
94
|
-
-
|
|
95
|
-
|
|
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.
|
data/_includes/footer.html
CHANGED
|
@@ -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.
|
|
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.
|
|
14
|
+
alt="{{ contact.type }}"
|
|
15
15
|
/>
|
|
16
16
|
|
|
17
17
|
{% if contact.type == "email" %}
|
|
18
|
-
{% if contact.cloak
|
|
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.
|
|
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.
|
|
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.
|
|
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 %}
|