Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Post url updated before site is actually deployed and new urls are available in site.posts

未关闭
#758 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
github, jekyll, ruby
领域
build-system

调研方向

首先,使用链接的在线站点和源代码仓库重现部署时序,比较 push 到部署完成期间的 overview link、old URL、new URL 以及 site.posts 中的条目。Issue 中没有指定源文件或测试,因此在决定可以更改哪些行为之前,先跟踪 GitHub Pages 如何构建和发布 post URL。完成的标准是,部署期间 overview link 不会链接到不可用的 post。

由索引模型根据 Issue 内容生成。

描述

This issue affects
  • The site generated by GitHub Pages
  • Building sites locally

The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting seeking support in other forums.

What did you do (e.g., steps to reproduce)
  • Pushed a post
  • Renamed the date to correctly reflect today and pushed it
What did you expect to happen?
  • The post to have the old date until a new deployment is finished.
What happened instead?

Between pushing the ammended post and that deployment being finished, the site is partially broken:

  • The ammended post is displayed in the overview with the old date and a link to the old url
  • When clicking on that url, the post is not available and returns a 404
  • When navigating to the new url, the post is available
Additional information
主要语言
Ruby
星标
1.9k
派生
361
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/pages-gem 的其他 Issue

查看 github/pages-gem 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。