Deprecate kind, lang, and path from front matter

These were added to the page meta object when we implemented "pages from data", but were not meant to be used in front matter.

That is not supported, so we might as well add validation.

Fixes #12484
This commit is contained in:
Bjørn Erik Pedersen 2025-02-10 18:50:56 +01:00
parent e6feb9e0be
commit 9b5f786df8
9 changed files with 57 additions and 13 deletions

View file

@ -22,7 +22,7 @@ import (
)
func TestCommentShortcode(t *testing.T) {
t.Parallel()
// This cannot be parallel as it depends on output from the global logger.
files := `
-- hugo.toml --