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) =>
|
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))
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue