Skip to content

Commit

Permalink
fix: prettier blog
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhyll committed May 14, 2024
1 parent 44f6f53 commit b84fa25
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,17 @@ export default defineConfig({
{
label: 'Blog',
collapsed: true,
autogenerate: { directory: 'blog' },
items: [
{
label: 'All posts',
link: '/blog/'
},
{
label: 'Recent posts',
collapsed: false,
autogenerate: { directory: 'blog' }, // TODO: Manually construct `items` to sort by dates
},
]
},
],
locales,
Expand Down

0 comments on commit b84fa25

Please sign in to comment.