mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
hugolib: Display correct markup identifier in error message
Fixes #11538
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
8f60c0c1ec
commit
a2488b1c95
@@ -731,7 +731,7 @@ func (p *pageMeta) newContentConverter(ps *pageState, markup string) (converter.
|
||||
}
|
||||
cp := p.s.ContentSpec.Converters.Get(markup)
|
||||
if cp == nil {
|
||||
return converter.NopConverter, fmt.Errorf("no content renderer found for markup %q", p.markup)
|
||||
return converter.NopConverter, fmt.Errorf("no content renderer found for markup %q", markup)
|
||||
}
|
||||
|
||||
var id string
|
||||
|
Reference in New Issue
Block a user