fix: some smaller pieces still missing

This commit is contained in:
hugo committed 2026-02-27 21:15:03 +01:00
1 parent 696b79c5d7
commit a38954101c
7 files changed
+532 -8

No files matched your search

@@ -18,8 +18,8 @@ const UI_DATE_LOCALE: Record<string, string> = {
const toTemplateSlug = (value: string) => {
const normalized = value
.toLowerCase()
.replace(/[^a-z0-9]+/g, '-')
.replace(/^-+|-+$/g, '');
.replace(/[^a-z0-9]+/g, '_')
.replace(/^_+|_+$/g, '');
return normalized || 'template';
};