godotengine / godot-website

The code for the official Godot Engine website. A static site built using Jekyll.
https://godotengine.org
MIT License
280 stars 138 forks source link

Avoid redirects in internal links by appending trailing slash #857

Closed Calinou closed 1 month ago

Calinou commented 1 month ago

The web server redirects pages like /blog to /blog/, which slows down navigation a bit. This can be avoided by fully spelling out the URLs in internal links.

This also adds the download link OS matching to the 404 page, and fixes the asset library link in the footer when hosting the site locally (so it points to godotengine.org).

I've tested this locally and navigation still works as expected.