snap-cloud / SnapSite

[DEPRECATED] The old social website for the Snap! programming language/environment
GNU General Public License v3.0
9 stars 18 forks source link

Add a simple custom 404 page #85

Closed R4356th closed 2 years ago

R4356th commented 4 years ago

Resolves

Moves a step forward in resolving #67.

Changes

Adds a very simple (and definitely non-impressive) custom 404 page, but should be enough for now, I guess.

Test Coverage

A live sample can be found here.

Daniel4-Scratch commented 3 years ago

don't you need a file to redirect to the 404 tmp? Like a YAML file.

R4356th commented 3 years ago

Snap! devs will have to take care of that.

Daniel4-Scratch commented 3 years ago

Ok. Cause they could try yaml, but I’ll think it will bug out because the way the website works.

---
permalink: /404.html
---
GrahamSH-LLK commented 3 years ago

Ok. Cause they could try yaml, but I’ll think it will bug out because the way the website works.

---
permalink: /404.html
---

Uh, yeah! It doesn't work that way... This would require backend work on snap-cloud.

Daniel4-Scratch commented 3 years ago

Does that explain why Snap! didn't have a 404 page in the first time?

cycomachead commented 2 years ago

We're going to move to a new system soon, so I'll close this. Thanks, though!