quartz/docs/plugins/NotFoundPage.md
2026-03-19 22:18:42 +01:00

20 lines
681 B
Markdown

---
title: NotFoundPage
tags:
- plugin/pageType
image:
---
This plugin emits a 404 (Not Found) page for broken or non-existent URLs. It uses the `minimal` [[layout#Page Frames|page frame]] (no sidebars, no header or beforeBody chrome — only content and footer) to present a clean error page.
> [!note]
> For information on how to add, remove or configure plugins, see the [[configuration#Plugins|Configuration]] page.
This plugin has no configuration options.
## API
- Category: Page Type
- Function name: `Plugin.NotFoundPage()` (internal plugin).
- Source: [`quartz/plugins/pageTypes/404.ts`](https://github.com/jackyzha0/quartz/blob/v5/quartz/plugins/pageTypes/404.ts)