Skip to content

Commit

Permalink
0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zcraber committed Oct 11, 2023
1 parent e3e42b3 commit 0c0c2ff
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@
# [0.1.2](https://github.com/digitalmalayali/linkhub-jekyll-theme/releases/tag/v0.1.2) (11-10-2023)
- Fixed some padding and margin issues.
- Added aspect ratio variable for `bio.yml`.
- Removed `jekyll-seo-tag` plugin.
- Removed `jekyll-seo-tag` plugin.

# [0.1.3](https://github.com/digitalmalayali/linkhub-jekyll-theme/releases/tag/v0.1.3) (11-10-2023)
- Added Mastodon verification support.
- Icons in link buttons are optional now.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ Like Later's link-in-bio feature, you can include external links to your Instagr
items:
- url: https://www.example.com
image: https://picsum.photos/700/400 # You can use paths to images in the assets folder, e.g., assets/images/insta.jpg.
- url: https://www.example.com
image: https://picsum.photos/200
- name: YouTube
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.
Expand All @@ -189,7 +191,7 @@ If you'd like to remove Instagram/TikTok/YouTube link-in-bio altogether, remove
```

### Adding Links
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` variable is optional.
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.

#### `links.yml`

Expand All @@ -209,7 +211,6 @@ Edit the [links.yml](_data/links.yml) file in the [_data](_data) folder to add l
items:
- title: Example 3
url: https://www.example.com
icon: ri:ball-pen-fill
```

## Contributing
Expand Down
3 changes: 1 addition & 2 deletions _data/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
items:
- title: Example
url: https://www.example.com
icon: ri:film-fill
icon: ri:film-fill # Icons are optional.
tag: New

- title: Example 2
Expand All @@ -13,7 +13,6 @@
items:
- title: Example 3
url: https://www.example.com
icon: ri:ball-pen-fill

- category: Works
items:
Expand Down
4 changes: 2 additions & 2 deletions _includes/links.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ <h5 class="text-center">{{ category.category }}</h5>
{% else %}
<div class="col is-center">
{% endif %}
<a class="button outline secondary" href="{{ item.url }}" target="_blank"><span class="iconify-inline"
data-icon="{{ item.icon }}"></span>{{ item.title }}
<a class="button outline secondary" href="{{ item.url }}" target="_blank">{% if item.icon %}<span class="iconify-inline"
data-icon="{{ item.icon }}"></span>{% endif %}{{ item.title }}
{% if item.tag %}<span class="tag is-small bd-success text-success">{{ item.tag }}</span>{%
endif %}</a>
</div>
Expand Down
3 changes: 2 additions & 1 deletion _includes/social.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<nav class="nav">
<div class="nav-center">
{% for social in site.data.social %}
<a class="brand" href="{{ social.url }}" target="_blank" aria-label="{{ social.name }}">
<a class="brand" href="{{ social.url }}" target="_blank" aria-label="{{ social.name }}" {% if
social.name=="mastodon" %}rel="me" {% endif %}>
<span class="iconify-inline" data-icon="{{ social.icon }}" style="color: {{ social.color }}"></span>
</a>
{% endfor %}
Expand Down
4 changes: 2 additions & 2 deletions linkhub-jekyll-theme.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "linkhub-jekyll-theme"
spec.version = "0.1.2"
spec.version = "0.1.3"
spec.authors = ["Digital Malayali"]
spec.email = ["[email protected]"]

Expand All @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|

spec.metadata = {
"bug_tracker_uri" => "https://github.com/digitalmalayali/linkhub-jekyll-theme/issues",
"changelog_uri" => "https://github.com/digitalmalayali/linkhub-jekyll-theme/CHANGELOG.md",
"changelog_uri" => "https://github.com/digitalmalayali/linkhub-jekyll-theme/blob/main/CHANGELOG.md",
"documentation_uri" => "https://github.com/digitalmalayali/linkhub-jekyll-theme#readme",
"source_code_uri" => "https://github.com/digitalmalayali/linkhub-jekyll-theme",
"funding_uri" => "https://liberapay.com/zcraber"
Expand Down

0 comments on commit 0c0c2ff

Please sign in to comment.