Commit graph

2 commits

Author SHA1 Message Date
Richard van der Hoff add97fe2c0
Update layouts/partials/head-css.html 2024-12-10 22:53:40 +00:00
Kévin Commaille 5ece2edf2d
Optimize generated CSS by removing unused selectors
Hugo generates stats about the HTML elements, IDs and classes that can be found in the website,
and we post-process the rendered CSS with postcss-purgecss that uses those stats to remove unused selectors.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-11-20 11:28:00 +01:00