Skip to content

Commit 6e35907

Browse files
committed
Add relative_url filter to author profile image
Fixes #125
1 parent d2eef1d commit 6e35907

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
88
## [Unreleased] -
99

1010
### Fixed
11+
- Add `relative_url` filter to author profile image. [#125](https://github.com/mmistakes/jekyll-theme-basically-basic/issues/125)
1112
- Fix rake vulnerability in `.gemspec` file.
1213

1314
## [1.4.4] - 2019-08-20

_includes/author

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
{% if site.data.authors and site.data.authors[author] %}
1717
{% assign author_picture = site.data.authors[author].picture %}
1818
{% endif %}
19-
{% unless author_picture contains '://' %}{% assign author_picture = author_picture | relative_url %}{% endunless %}
2019
{% endif %}
20+
{% assign author_picture = author_picture | relative_url %}
2121

2222
{% if author.twitter %}
2323
{% assign author_twitter = author.twitter %}
@@ -28,4 +28,4 @@
2828
{% assign author_twitter = site.twitter_username %}
2929
{% endif %}
3030
{% endif %}
31-
{% endif %}
31+
{% endif %}

0 commit comments

Comments
 (0)