Skip to content

Commit

Permalink
Add en-US as root locale.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 committed Oct 25, 2023
1 parent c96deb7 commit ef028f8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ export default defineConfig({
Sidebar: 'starlight-blog/overrides/Sidebar.astro',
ThemeSelect: '~/components/NavBar.astro'
},
defaultLocale: 'root', // optional
locales: {
root: {
label: 'English',
lang: 'en-US' // lang is required for root locales
}
},
customCss: ['~/assets/global.scss', '~/fonts/fonts.css'],
title: 'Waterfox',
logo: {
Expand All @@ -38,10 +45,6 @@ export default defineConfig({
twitter: 'https://twitter.com/Waterfoxproject'
},
sidebar: [
{
label: 'Blog',
autogenerate: { directory: 'blog' }
},
{
label: 'Policies',
autogenerate: { directory: 'docs/policies' }
Expand Down

0 comments on commit ef028f8

Please sign in to comment.