feat(projects): format language-sensitive lists
This commit is contained in:
parent
9f39fe16b6
commit
aca7190f08
4
index.js
4
index.js
|
@ -46,8 +46,8 @@ Handlebars.registerHelper('icon', (name, fallback) =>
|
|||
}),
|
||||
)
|
||||
|
||||
Handlebars.registerHelper('join', (arr, separator) =>
|
||||
arr.join(typeof separator === 'string' ? separator : ', '),
|
||||
Handlebars.registerHelper('join', arr =>
|
||||
Intl.ListFormat ? new Intl.ListFormat('en').format(arr) : arr.join(', '),
|
||||
)
|
||||
|
||||
Handlebars.registerHelper('markdown', doc => micromark(doc))
|
||||
|
|
|
@ -386,7 +386,7 @@ blockquote > * + * {
|
|||
</span>
|
||||
</div>
|
||||
<span>
|
||||
<strong>Team lead, Designer</strong>
|
||||
<strong>Team lead and Designer</strong>
|
||||
at <strong>Smoogle</strong>
|
||||
</span>
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue