Skip to content

Commit

Permalink
πŸ› Fix an issue where 404 page is not rendered correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mingjunlu committed Dec 26, 2023
1 parent f8abb9d commit d7b5d25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/404.astro β†’ src/pages/[...any].astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { siteName } from 'src/constants/site';
import ErrorLayout from 'src/layouts/error-layout.astro';
import SiteLayout from 'src/layouts/site-layout.astro';
Astro.response.status = 404;
const metadataProps: MetadataProps = {
title: 'Page Not Found',
titleTemplate: `%s | ${siteName}`,
Expand Down
File renamed without changes.

0 comments on commit d7b5d25

Please sign in to comment.