Fetch GitHub Stargazers Count (and More) at Build Time—zachleat.com

Older iterations of this website used a third party JavaScript widget to show the number of GitHub Stars the project currently had. This was in fact the only <script> tag on the entire 11ty.io web site and it was from a third party. Naturally, it needed to be annihilated.

Originally posted at: https://www.11ty.io/docs/quicktips/eliminate-js/

Author: admin

Leave a Reply

Your email address will not be published. Required fields are marked *