✨ Publier v1 is live — a polished docs platform built for the open web.
Skip to content

Pages

Company-site sub-pages and standard pages — how to enable, disable, and customize each via publier.config.yaml.

Publier’s page system toggles individual routes on or off via publier.config.yaml. Every page type is available to any template.

publier.config.yaml
pages:
# Template types
docs: true
blog: true
# Company-site sub-pages
landing: true
about: true
team: true
careers: true
press: true
contact: true
# Standard pages
changelog: true
status: true
knowledge-base: true
404: true

Setting a key to false suppresses the route entirely — it disappears from the sidebar, sitemap, search index, and RSS feed.

Customizing a page

The company-site template scaffolds .astro files in src/pages/ for each of its six sub-pages — edit them in place to update copy, components, or layout.

For any page type, drop a file at the matching path in src/pages/ to add or customize the page:

src/pages/about.astro → adds or replaces /about
src/pages/changelog.astro → adds or replaces /changelog
src/pages/404.astro → adds or replaces the 404 handler

Company-site sub-pages

Six pages for marketing and company information, pre-scaffolded by the company-site template. Pages like Landing, Team, Press, and Careers use @publier/shell components; About and Contact are plain HTML starters.

Standard pages

Four cross-template utility pages available to any template.