为全部文章添加论坛链接,并更新中文默认站点措辞 - #6
Merged
Merged
Conversation
- Add natural forum CTAs at article endings (结语, reference card, footer) - Replace 中文界面/?lang=zh-CN links with speedce.com and bbs.speedce.com - Update site nav/footer, index pages, and article generator templates - Add bulk update script for existing 210 articles Co-authored-by: freejbgo <freejbgo@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
SpeedCE 现已配套站长论坛(https://bbs.speedce.com),且官网默认即为中文界面。本次更新在全部 210 篇文章及相关页面中,自然融入论坛入口,并清理过时的
?lang=zh-CN与「中文界面」表述。论坛链接的融入方式
为避免生硬广告感,论坛入口分三层出现,均与文章「测速交流、晒截图」主题衔接:
中文默认站点措辞更新
https://speedce.com/?lang=zh-CN→https://speedce.comSelect a tool/Test scope/Start Test→「选择工具」「测试范围」「开始测速」涉及文件
scripts/premium_article_generator.py— 新生成文章的模板scripts/update_forum_and_zh_links.py— 批量更新现有文章(新增)scripts/generate_seo_index.py、generate_root_readme.py、generate_article_images.pydocs/_layouts/default.html、docs/_config.ymlarticles/*.md(210 篇)及对应的docs/articles/*.md验证
python3 scripts/generate_seo_index.py重新生成索引成功