kubernetes/website

[de] Remove deprecated lang front matter

已关闭

#55,976 创建于 2026年6月1日

 (6 条评论) (0 个反应) (0 位负责人)HTML (13,918 个派生)batch import
good first issuehelp wantedkind/buglanguage/detriage/accepted

仓库指标

星标
 (4,127 个星标)
PR 合并指标
 (平均合并 16天 13小时) (30 天内合并 160 个 PR)

描述

This is a Bug Report

The file content/de/docs/concepts/workloads/pods/pod-lifecycle.md declares lang: de in its front matter.

Hugo deprecated this field in v0.144.0: the language is inferred from the content/de/ directory path.

Task

  • Delete the lang: de line from the front matter. The page stays recognized as German via the path.
  • Check if other pages still has lang front matter and delete

Verification

After the change, running:

make serve

should no longer warn.

WARN  deprecated: lang in front matter was deprecated in Hugo v0.144.0 and will be removed in a future release.

Context

Surfaced during the Hugo 0.152.2 + Docsy 0.13.0 upgrade in #55972.

/good-first-issue

贡献者指南