diff --git a/src/components/default-listing.astro b/src/components/default-listing.astro index e19e29e..d79b20a 100644 --- a/src/components/default-listing.astro +++ b/src/components/default-listing.astro @@ -5,6 +5,8 @@ import { ListingDetails } from '~/helpers/listing-page.js' +import Aliases from '~/src/components/listing/aliases.astro' + import AllUpdatesSubscribe from '~/components/all-updates-subscribe.vue' @@ -25,6 +27,8 @@ const details = new ListingDetails( listing ) { details.subtitle } + + 1 + + +const listFormatter = new Intl.ListFormat('en', { style: 'short', type: 'disjunction' }); + +--- +{ hasMultipleAliases ? + May also be known as ${ listFormatter.format( listing.aliases, 'or' ) } +: '' }