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).
This is a small win for build performance and semantic HTML: rather than a Jekyll filter that replaces every
hr
with ansvg[role="separator"]
, now I leave thehr
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).