Age | Commit message (Expand) | Author | Files | Lines |
---|---|---|---|---|
2022-05-11 | [create-astro] Finalize developer experience... with gradients 🚀 (#3313) | 5 | -23/+123 |
export function getLanguageFromURL(pathname: string) { const langCodeMatch = pathname.match(/\/([a-z]{2}-?[A-Z]{0,2})\//); return langCodeMatch ? langCodeMatch[1] : 'en'; } el='shortcut icon' href='/favicon.ico'/>