linkhub-jekyll-theme 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/_data/links.yml +1 -2
- data/_includes/links.html +2 -2
- data/_includes/social.html +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1caabf88af9f0c4bba000b84da12a4b7cd3b17dbe9af4c551bebf4d966b1abde
|
4
|
+
data.tar.gz: 8f8e428811d1833cc483d77d750fefe182644c5f587e8fdf80cb4112519fef03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c204aab64a73f601cdeb26c1b6b64c01f242f9773b2d9fee240b225adb7c65931fa059d3d86c5e4a024549ed27431df2d4d08d721d9d0bed0b48c82e0fb31625
|
7
|
+
data.tar.gz: 33a7f8a21b08603afc44c5835955d6e4eada0c7c55ebff4df4864ba6570e2346d9cdcf4bc1c499a1576d6e15a64939f02bd783fc500c361bcac838a473dad84f
|
data/README.md
CHANGED
@@ -173,6 +173,8 @@ Like Later's link-in-bio feature, you can include external links to your Instagr
|
|
173
173
|
items:
|
174
174
|
- url: https://www.example.com
|
175
175
|
image: https://picsum.photos/700/400 # You can use paths to images in the assets folder, e.g., assets/images/insta.jpg.
|
176
|
+
- url: https://www.example.com
|
177
|
+
image: https://picsum.photos/200
|
176
178
|
|
177
179
|
- name: YouTube
|
178
180
|
ratio: vertical # For vertical 9:16 aspect ratio. Ideal for video thumbnails, such as those used on Instagram Reels, YouTube Shorts and TikTok. To use the default 1:1 aspect ratio (square), remove this variable.
|
@@ -189,7 +191,7 @@ If you'd like to remove Instagram/TikTok/YouTube link-in-bio altogether, remove
|
|
189
191
|
```
|
190
192
|
|
191
193
|
### Adding Links
|
192
|
-
Edit the [links.yml](_data/links.yml) file in the [_data](_data) folder to add link categories, links, icons, and tags. Refer to the provided examples and the [demo](https://digitalmalayali.github.io/linkhub-jekyll-theme/) for a better understanding. `tag`
|
194
|
+
Edit the [links.yml](_data/links.yml) file in the [_data](_data) folder to add link categories, links, icons, and tags. Refer to the provided examples and the [demo](https://digitalmalayali.github.io/linkhub-jekyll-theme/) for a better understanding. `tag` and `icon` variables are optional.
|
193
195
|
|
194
196
|
#### `links.yml`
|
195
197
|
|
@@ -209,7 +211,6 @@ Edit the [links.yml](_data/links.yml) file in the [_data](_data) folder to add l
|
|
209
211
|
items:
|
210
212
|
- title: Example 3
|
211
213
|
url: https://www.example.com
|
212
|
-
icon: ri:ball-pen-fill
|
213
214
|
```
|
214
215
|
|
215
216
|
## Contributing
|
data/_data/links.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
items:
|
3
3
|
- title: Example
|
4
4
|
url: https://www.example.com
|
5
|
-
icon: ri:film-fill
|
5
|
+
icon: ri:film-fill # Icons are optional.
|
6
6
|
tag: New
|
7
7
|
|
8
8
|
- title: Example 2
|
@@ -13,7 +13,6 @@
|
|
13
13
|
items:
|
14
14
|
- title: Example 3
|
15
15
|
url: https://www.example.com
|
16
|
-
icon: ri:ball-pen-fill
|
17
16
|
|
18
17
|
- category: Works
|
19
18
|
items:
|
data/_includes/links.html
CHANGED
@@ -8,8 +8,8 @@
|
|
8
8
|
{% else %}
|
9
9
|
<div class="col is-center">
|
10
10
|
{% endif %}
|
11
|
-
<a class="button outline secondary" href="{{ item.url }}" target="_blank"
|
12
|
-
data-icon="{{ item.icon }}"></span>{{ item.title }}
|
11
|
+
<a class="button outline secondary" href="{{ item.url }}" target="_blank">{% if item.icon %}<span class="iconify-inline"
|
12
|
+
data-icon="{{ item.icon }}"></span>{% endif %}{{ item.title }}
|
13
13
|
{% if item.tag %}<span class="tag is-small bd-success text-success">{{ item.tag }}</span>{%
|
14
14
|
endif %}</a>
|
15
15
|
</div>
|
data/_includes/social.html
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
<nav class="nav">
|
2
2
|
<div class="nav-center">
|
3
3
|
{% for social in site.data.social %}
|
4
|
-
<a class="brand" href="{{ social.url }}" target="_blank" aria-label="{{ social.name }}"
|
4
|
+
<a class="brand" href="{{ social.url }}" target="_blank" aria-label="{{ social.name }}" {% if
|
5
|
+
social.name=="mastodon" %}rel="me" {% endif %}>
|
5
6
|
<span class="iconify-inline" data-icon="{{ social.icon }}" style="color: {{ social.color }}"></span>
|
6
7
|
</a>
|
7
8
|
{% endfor %}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linkhub-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Digital Malayali
|
@@ -64,7 +64,7 @@ licenses:
|
|
64
64
|
- MIT
|
65
65
|
metadata:
|
66
66
|
bug_tracker_uri: https://github.com/digitalmalayali/linkhub-jekyll-theme/issues
|
67
|
-
changelog_uri: https://github.com/digitalmalayali/linkhub-jekyll-theme/CHANGELOG.md
|
67
|
+
changelog_uri: https://github.com/digitalmalayali/linkhub-jekyll-theme/blob/main/CHANGELOG.md
|
68
68
|
documentation_uri: https://github.com/digitalmalayali/linkhub-jekyll-theme#readme
|
69
69
|
source_code_uri: https://github.com/digitalmalayali/linkhub-jekyll-theme
|
70
70
|
funding_uri: https://liberapay.com/zcraber
|