-
Notifications
You must be signed in to change notification settings - Fork 3
Target state
Our homepage should become a living document.
It should be a breeze to update it. That is, not everything should be meant to be maintained in several places, but ideally in one.
Hugo can read JSON files at compile time, so it would be possible to move certain information (like supported mirrors) into a JSON and keep it in one place.
The old website used to mix HTML and markdown (because it was built on top of Twitter Bootstrap). Ideally, the markdown files should be as pure as possible.
If certain bits need HTML, extract those to Hugo Shortcuts (which in turn can use Hugo Partials).
Static HTML pages have the advantages to be easily cachable. We are using CloudFront anyway, so it should be possible to leverage it.
For perceived performance, it may be an idea, to split CSS files and load them one after another (ideally without triggering reflows).
The UI should look ideally the same across all services we offer (like Homepage, Sabayon Community Repositories, Bugzilla, Forum, Wiki, packages.sabayon.org, …).