alexwlchan / alexwlchan.net

Source code and plugins for my website, a static site built with Jekyll
https://alexwlchan.net/
MIT License
50 stars 13 forks source link

Push my custom <hr/> styles into custom CSS, out of Jekyll #775

Closed alexwlchan closed 7 months ago

alexwlchan commented 7 months ago

This is a small win for build performance and semantic HTML: rather than a Jekyll filter that replaces every hr with an svg[role="separator"], now I leave the hr as-is and style it using CSS.

This makes the build slightly faster, makes my site a bit more Jekyll-agnostic, and the build a non-trivial amount faster (maybe ~15% in informal testing).

alexwlchan commented 7 months ago

🚀 Deployed on https://6613a6054a79d1693d487865--alexwlchan.netlify.app