From the course: Learning Static Site Building with Jekyll
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Customize the error page
From the course: Learning Static Site Building with Jekyll
Customize the error page
- [Instructor] By default new Jekyll sites contain a file called 404.html. You can see it if you go to /404.html in your browser. Some web servers can be configured to point to this page whenever an error occurs or a page can't be found. So visitors will see this page instead of a confusing error message. If you'd like you can customize this page to make it say whatever you want. To do that switch to the code editor and find the 404.html file. Here you can make whatever changes you want. Say sorry the page could not be found. And if the preview server is running as soon as you refresh you'll see these changes. Customizing the error page is totally optional but it can help add some additional polish to your site.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.