PostList chooses
which settings to use.
Set home.title for the visible homepage heading and description for its
subtitle. The homepage is generated automatically; no pages/index.mdx is needed.
The homepage automatically lists published Markdown and MDX pages in pages/,
newest first, with 12 articles per page. Pagination links lead to older
articles at /page/2/, /page/3/, and so on. The links stay hidden when there is
only one page. Each page uses the same selected layout.
- Grid uses three columns on desktop, two on tablets, and one on phones.
- Rows places one article across the available width, with its image beside the text. The image and text stack vertically on phones.
- Column stacks articles in a centered reading column. Its width follows
post.contentWidthEm, the same setting used by article bodies.
/category/news/page/2/. These links work without JavaScript.
Layout settings
Open Design → Customize → Home → Site to choose Grid, Rows, or Column. Changes appear in the preview; click Publish to apply them.
These same settings apply to local previews and builds. To change the layout
inside an article, see Post layout.