docs: remove the stale duplicate Code of Conduct page (#1...
wahidrizka
·
2026-09-18
·
via Recent Commits to jekyll:master
| Original file line number | Diff line number | Diff line change |
|---|
@@ -68,7 +68,11 @@ namespace :site do
|
68 | 68 | desc "Copy the Code of Conduct" |
69 | 69 | task :conduct do |
70 | 70 | front_matter = { |
71 | | -"redirect_from" => "/conduct/index.html", |
| 71 | +# The README and the 3.0 and 3.1.1 release posts all link to /docs/conduct/, |
| 72 | +# so the generated page keeps serving that URL instead of the slug derived |
| 73 | +# from the source filename. |
| 74 | +"permalink" => "/docs/conduct/", |
| 75 | +"redirect_from" => ["/conduct/index.html", "/docs/code_of_conduct/"], |
72 | 76 | "editable" => false, |
73 | 77 | } |
74 | 78 | siteify_file(".github/CODE_OF_CONDUCT.markdown", front_matter) |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。