hugolib: Emit ignorable warning when home page is a leaf bundle

Closes #13538
This commit is contained in:
Joe Mooring
2025-06-06 13:21:41 -07:00
committed by Bjørn Erik Pedersen
parent 8e61f1fe12
commit 01241d5dc9
4 changed files with 45 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ const (
WarnRenderShortcodesInHTML = "warning-rendershortcodes-in-html"
WarnGoldmarkRawHTML = "warning-goldmark-raw-html"
WarnPartialSuperfluousPrefix = "warning-partial-superfluous-prefix"
WarnHomePageIsLeafBundle = "warning-home-page-is-leaf-bundle"
)
// Field/method names with special meaning.