We have updated our default Jekyll version from 3.3.0 to 3.3.1, to match the recent update at GitHub Pages.
This update includes a few minor enhancements and bug fixes. For a full list of revisions check out the release notes.
Also included in this update are two new approved plugins.
1. jekyll-avatar
Jekyll Avatar makes it easy to add GitHub avatars to your site by specifying a username. Avatars are cached by GitHub, load in parallel, and use retina images when supported.
Simply add the following, anywhere you’d like a user’s avatar to appear:
{% avatar USERNAME %}
You can also customize the size:
{% avatar siteleaf size=50 %}
This would render as:
<img class="avatar" src="https://avatars3.githubusercontent.com/siteleaf?v=3&s=50" alt="siteleaf" srcset="https://avatars3.githubusercontent.com/siteleaf?v=3&s=50 1x, https://avatars3.githubusercontent.com/siteleaf?v=3&s=100 2x, https://avatars3.githubusercontent.com/siteleaf?v=3&s=150 3x, https://avatars3.githubusercontent.com/siteleaf?v=3&s=200 4x" width="50" height="50" />
For details see: https://github.com/benbalter/jekyll-avatar
2. jekyll-relative-links
Jekyll Relative Links convert relative markdown links to their rendered equivalents.
For example, if you link to a Markdown file called bar.md
:
[foo](bar.md)
This plugin converts your link to the rendered permalink version:
<a href="/bar.html">foo</a>
For details see: https://github.com/benbalter/jekyll-relative-links
For most sites, no action is required to take advantage of the latest version. If you wish to use a specific version of Jekyll for your site, you can define that in your Gemfile
.
As a reminder, sites on our Team and higher plans can also use custom (non-approved) gems. See learn.siteleaf.com for all the details.