Skip to content

Releases: gouravkhunger/jekyll-auto-authors

v1.0.4

11 May 14:48
12b2f03
Compare
Choose a tag to compare

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.

Files changed >

v1.0.3

09 May 10:01
34481da
Compare
Choose a tag to compare

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.

Files changed >

v1.0.2

14 Jul 21:30
2c95fdf
Compare
Choose a tag to compare

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.

Files changed >

v1.0.1

11 Apr 10:09
993bd37
Compare
Choose a tag to compare

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.

Changes to files >