Override 404 error page

Is it possible to override the content of 404 error page user/plugins/error/pages/error.md?

I can override the content via user/themes/theme_name/templates/error.html.twig, but for the title “Page not Found” I don’t know how. I wonder if we can do that.

Thank you for any suggestions!

@hungtan You can provide your own error page. The error plugin has such an option

  404: '/error'

Either create an error page (error.md) with the modified title in a possibly 01.error folder (copy https://github.com/getgrav/grav-plugin-error/blob/develop/pages/error.md) or adjust the above option to point to a valid page.

Thank you it works!