Releases: gouravkhunger/jekyll-auto-authors
v1.0.4
v1.0.4
: IMPORTANT BUG FIX
Please upgrade to v1.0.4
if you face any issues with v1.0.3
.
Changelog
Fixed a crash causing bug in v1.0.3
where the exclude
attribute does not get assigned a default empty array value if authors autopage configuration does not receive a user assigned array.
v1.0.3
v1.0.3
🎉
Changelog
This release adds the exclude functionality where authors can be skipped from auto pages generation.
- Adding the
exclude: ["author1", "author2", ...]
attribute in authors autospage config in_config.yml
file force excludes those author pages from being generated even if they have posts assigned to them. - Adding
exclude: true
attribute to a specific author's data in a given data file does a soft exclude which works only if the author does not have any post assigned to them.
Check out README.md
for more information.
v1.0.2
v1.0.2
🎉
Changelog
Summary: The latest version now also generates author pages for authors that have no posts yet.
The plugin used to generate autopages by gathering all the possible posts and indexing them based on author value defined in the frontmatter. This posed a caveat: Authors that didn't have posts but have author data defined in a data file such as _data/authors.yml
, didn't get their author pages.
With the current implementation in v1.0.2
, the plugin iterates over the posts to index them by authors and generate autopages as usual, while adding an extra step to store authors that have finished autopages, in a set.
Then if author data is defined, it goes through the pending authors and calls the generation lambda to generate pending autopages.
v1.0.1
v1.0.1
🎉
Changelog
- Make data parameter for autopages configuration optional. Based on this.
- Now author pages can be generated without needing to define some data inside
_data/
folder. - If data is not defined, the variable
page.pagination.author
has just the author username string defined in post frontmatter. If data files are setup correctly,page.pagination.author_data
has the author data as a hashmap as defined in the data file.