404 page title #6343
-
I am currently adjusting the 404 error page. How can I overwrite the default page title (which currently says "Statamic") without having to create a custom layout page that hardcodes the title tag? Update: Realized that the "Statamic" is coming from the respective environment variable since I have this in the layout page: Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Why not revert the change and modify the site name in the .env file? |
Beta Was this translation helpful? Give feedback.
-
Hey @m-berger-nf, Like @ryanmitchell mentioned, you should ideally change the site name in the But there are a few other options:
I would suggest to have a look at the docs on the cascade order of views Hope that helps :) |
Beta Was this translation helpful? Give feedback.
-
Thanks @ryanmitchell and @joshuablum for the great input! I have gone with the |
Beta Was this translation helpful? Give feedback.
Hey @m-berger-nf,
Like @ryanmitchell mentioned, you should ideally change the site name in the
.env
file.But there are a few other options:
{{ section }}
tag like Ryan suggestedI would suggest to have a look at the docs on the cascade order of views
Hope that helps :)