mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-22 05:55:42 -05:00
19 lines
674 B
Markdown
19 lines
674 B
Markdown
---
|
|
title: NotFoundPage
|
|
tags:
|
|
- plugin/pageType
|
|
---
|
|
|
|
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)
|