feat(projects): format language-sensitive lists

This commit is contained in:
Rafael Bardini 2021-10-04 21:05:51 +02:00
parent 9f39fe16b6
commit aca7190f08
2 changed files with 3 additions and 3 deletions

View File

@ -46,8 +46,8 @@ Handlebars.registerHelper('icon', (name, fallback) =>
}), }),
) )
Handlebars.registerHelper('join', (arr, separator) => Handlebars.registerHelper('join', arr =>
arr.join(typeof separator === 'string' ? separator : ', '), Intl.ListFormat ? new Intl.ListFormat('en').format(arr) : arr.join(', '),
) )
Handlebars.registerHelper('markdown', doc => micromark(doc)) Handlebars.registerHelper('markdown', doc => micromark(doc))

View File

@ -386,7 +386,7 @@ blockquote > * + * {
</span> </span>
</div> </div>
<span> <span>
<strong>Team lead, Designer</strong> <strong>Team lead and Designer</strong>
at <strong>Smoogle</strong> at <strong>Smoogle</strong>
</span> </span>
</header> </header>