Flatpak.org Rewrite
摘要
该文章介绍 Flatpak.org 网站长期运行在 Middleman 上,因依赖老旧、gem 长期未更新以及大量依赖项,触发了约 42 个漏洞警告,维护变得困难。尽管此前做过一次品牌重塑,但整体仍带有旧架构痕迹。 本次重写在布局上采用类似 gnome.org 的 named-grid 方式,通过多列网格与命名区域实现更灵活的页面结构(可跨栏或并排布局)。导航大部分被收纳到 footer,同时参考 Flathub 上 Kolja(razze)的工作,将各发行版安装说明集中维护。 整体收益主要在后端:降低维护复杂度,使网站更新和维护更轻量,并提到对相关贡献者的感谢。
荐读理由
内容仅描述网站从 Middleman 迁移到 Zola 的重写过程,未提及任何可直接迁移到 AI 工程项目的方法、工具、架构、洞见、真实技术变化或创业/产品信号
原文
Flatpak.org Rewrite
The Flatpak website has been running on Middleman for years and time hasn't been kind. Touching the project resulted in seeing 42 vulnerability warnings. The gem itself hasn't seen an update in ages, and the dependency list is rather large.
Very recently, which happens to be 4 years ago, we've done a rebrand to reflect the fact that Flatpak has hit it big. There were a few hints of the old baggage, but overall it didn't feel like a website from 2007. But it was just lipstick.
For the layout, I reached for the same named-grid approach we designed for gnome.org. Instead of fighting with a rigid single column you get a multi-column grid with named areas. This allows you to escape the column to span across the whole width or do side-by-side layouts with overflow.
Most of the navigation is left to the footer. Another pattern we've embraced elsewhere and has worked well. A major simplification came from the great work of Kolja (razze) on Flathub -- all the distro setup instructions are maintained in one place.
Most benefits remain on the backend — keeping the site up to date won't be such a chore. Shoutout goes to Bart, AsciiWolf and Sebastian, thank you for caring. On to the next one!
这条对你有帮助吗?