← PluginsAvailable
Page List
Lists of pages and posts, from a collection or a menu.
Render linked lists from any EmDash collection or menu in posts and templates, with sorting, limits, excerpts, dates and three styles.
Features
Collections or menus
Flat lists or nested menu trees.
Sorting and limits
By date or slug, newest first by default, up to 50 items.
Excerpts and dates
Show them when they help.
Three styles
Bulleted, compact and cards.
Page List renders a list of links from an EmDash collection or menu. Use it for "Related guides," a list of your latest posts or a section's table of pages, in an article or in a template.
Flexible, not fiddly
Sort by publish, update or creation date, or by slug; limit the count; show excerpts or dates; and pick bulleted, compact or card styles. Links follow each collection's URL pattern, so they stay correct if your URLs change.
Install
pnpm add emdash-page-list
// astro.config.mjs
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { pageListPlugin } from "emdash-page-list";
export default defineConfig({
integrations: [
emdash({ plugins: [pageListPlugin()] }),
],
});Questions
Can it list pages from a menu?
Yes. Point it at an EmDash menu and it renders the menu's items, including nested ones.