Files
blowfish/layouts/shortcodes
ZhenShuo Leo 884d84363e Revert "perf(repo-card): only generate used CSS class"
This reverts commit af221fbf3b.

fix language dot colors in repo-card not displaying

This occurs because head.html is rendered before the page content,
making .Page.Store unavailable at that point in the template
execution order.

This issue doesn't appear in local development because page refreshes
trigger full re-renders, allowing the Store values to be properly
populated from shortcodes.

Alternative solutions considered:

1. templates.Defer: too complex and unreliable
2. Moving CSS to footer: confusing and delayed load
3. Inline styles: incurs CSP issue

Final I choose pre-generate CSS for all languages. After zstd
compression, the CSS file is only 8KB and benefits from browser
caching across all pages.
2025-10-17 14:38:24 +08:00
..
2022-09-10 20:05:37 +01:00
2025-06-17 23:17:26 +01:00
2024-01-13 01:24:45 +01:00
2025-07-11 18:51:34 +08:00
2025-07-25 05:12:51 +08:00
2022-09-10 20:05:37 +01:00
2025-06-17 23:17:26 +01:00
2023-01-08 21:49:48 +00:00
2025-06-17 23:17:26 +01:00
2025-06-17 23:17:26 +01:00
2025-10-11 15:24:21 +08:00
2025-06-17 23:17:26 +01:00
2022-09-10 20:05:37 +01:00
2025-06-17 23:17:26 +01:00
2025-06-17 23:17:26 +01:00
2025-06-17 23:17:26 +01:00