mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
hugolib: Do not fall back to site title if not set in content file
See #5784
This commit is contained in:
@@ -545,7 +545,7 @@ func (p *pageMeta) applyDefaultValues() error {
|
||||
}
|
||||
}
|
||||
|
||||
if p.title == "" {
|
||||
if p.title == "" && p.f.IsZero() {
|
||||
switch p.Kind() {
|
||||
case page.KindHome:
|
||||
p.title = p.s.Info.title
|
||||
|
Reference in New Issue
Block a user