Commit graph

3 commits

Author SHA1 Message Date
Johannes Marbach fddb1ba5f9 Use more specific names for the version picker CSS classes and add them to the PurgeCSS safelist
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2025-12-05 18:22:40 +01:00
Kévin Commaille ba73e0d97a
Fix syntax highlighting and click-to-copy buttons for code blocks (#2049) 2025-01-14 18:34:50 +00:00
Kévin Commaille 1accb9e93f
Optimize generated CSS by removing unused selectors (#2008)
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-12-10 22:55:14 +00:00