Skip to content

Commit

Permalink
fix: remove a quantidade posts máxima na home
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquecustodia committed Jan 28, 2024
1 parent 2fcbf61 commit 1139791
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import TitlePage from '@/components/TitlePage'
import BaseLayout from '@/layouts/BaseLayout'
import { getPosts } from '@/utils'
const MAX_POSTS = 5 // max number of posts to show on the home page
const posts = await getPosts(MAX_POSTS)
const posts = await getPosts()
---

<BaseLayout title='Home'>
Expand Down

0 comments on commit 1139791

Please sign in to comment.