@technoweenie, when you get a chance (absolutely no rush), hoping to once again borrow some of your avatar expertise, as this plugin is an attempt to put into (broader) practice your guidance from https://github.com/github/government.github.com/pull/406 (regarding using avatar0-3 to ensure caching and load avatars in parallel).
Any red flags / potential improvements there? Seeing how often we use this on GitHub-properties alone, figured it be worth putting things into a Jekyll plugin to codify best practices.
@technoweenie, when you get a chance (absolutely no rush), hoping to once again borrow some of your avatar expertise, as this plugin is an attempt to put into (broader) practice your guidance from https://github.com/github/government.github.com/pull/406 (regarding using
avatar0-3
to ensure caching and load avatars in parallel).You can see all ~50 lines in https://github.com/benbalter/jekyll-avatar/blob/master/lib/jekyll/avatar.rb, if you're interested, but the key bits:
To calculate
avatars0-3
:(where
SERVERS
is4
)The resulting output:
Any red flags / potential improvements there? Seeing how often we use this on GitHub-properties alone, figured it be worth putting things into a Jekyll plugin to codify best practices.
/cc @parkr