lab icon indicating copy to clipboard operation
lab copied to clipboard

change 404 page

Open nichtmax opened this issue 5 years ago • 3 comments

Change the default page to correct site.

nichtmax avatar Jun 18 '19 11:06 nichtmax

@bytekeks FYI 😁

nichtmax avatar Jun 18 '19 11:06 nichtmax

@nichtmax is there a way to browse the build artifacts that are copied to netlify? I want to check if the 404.rst file is created properly. It does locally.

Another approach would be to put the page content of the 404 page into the conf.py:

notfound_context = {
    'title': 'Page Not Found',
    'body': '''
      <h1>Page Not Found</h1>
      <p>Sorry, the page you're looking for was not found.</p>
      <p>Please select a page from the side menu or feel free to create an issue on <a href="https://github.com/Uberspace/lab/issues">github.com</a>.</p>
     ''',
}

This would bloat the conf.py file somehow ...

mstoetzer avatar Jun 21 '19 17:06 mstoetzer

check how it was done in the manual https://github.com/Uberspace/manual/pull/512

maybe choose the design from there as well

noave avatar Aug 14 '23 14:08 noave