Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n(zh-cn): Update basics/astro-pages.mdx #8577

Merged
merged 3 commits into from
Jun 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
更新 astro-pages.mdx
Co-authored-by: liruifengv <[email protected]>
  • Loading branch information
100gle and liruifengv committed Jun 20, 2024
commit 38e6c8bf0abd119bd6628dc8dd4f303d00bbbe83
2 changes: 1 addition & 1 deletion src/content/docs/zh-cn/basics/astro-pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ title: '我的 Markdown 页面'
## 自定义 500 错误页面


要为[按需渲染的页面](/zh-cn/guides/server-side-rendering/#启用按需服务器端渲染)创建自定义的 500 错误页面,创建一个 `src/pages/500.astro` 文件。但这个自定义页面不适用于预渲染的页面,也不能被预渲染。
要为[按需渲染的页面](/zh-cn/guides/server-side-rendering/#启用按需服务器渲染)创建自定义的 500 错误页面,可以创建一个 `src/pages/500.astro` 文件。但这个自定义页面不适用于预渲染的页面,也不能被预渲染。

如果在渲染此页面时发生错误,将显示主机默认的 500 错误页面给访问者。

Expand Down
Loading