diff --git a/CHANGELOG.md b/CHANGELOG.md index cd4bbb1..bd7de67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - ### Fixed +- Add `relative_url` filter to author profile image. [#125](https://github.com/mmistakes/jekyll-theme-basically-basic/issues/125) - Fix rake vulnerability in `.gemspec` file. ## [1.4.4] - 2019-08-20 diff --git a/_includes/author b/_includes/author index 19bcf68..c8c40ab 100644 --- a/_includes/author +++ b/_includes/author @@ -16,8 +16,8 @@ {% if site.data.authors and site.data.authors[author] %} {% assign author_picture = site.data.authors[author].picture %} {% endif %} - {% unless author_picture contains '://' %}{% assign author_picture = author_picture | relative_url %}{% endunless %} {% endif %} + {% assign author_picture = author_picture | relative_url %} {% if author.twitter %} {% assign author_twitter = author.twitter %} @@ -28,4 +28,4 @@ {% assign author_twitter = site.twitter_username %} {% endif %} {% endif %} -{% endif %} \ No newline at end of file +{% endif %}