diff options
author | Joe Mooring <[email protected]> | 2023-10-07 11:11:45 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-10-30 09:01:34 +0100 |
commit | a2488b1c9523241b39898838a489a078587500a7 (patch) | |
tree | ce8fd293b8931ac92a38cad351039a8784d0f5f0 /hugolib/page__meta.go | |
parent | 8f60c0c1ec11c3c47ed7e3eff121ba1f1976f755 (diff) | |
download | hugo-a2488b1c9523241b39898838a489a078587500a7.tar.gz hugo-a2488b1c9523241b39898838a489a078587500a7.zip |
hugolib: Display correct markup identifier in error message
Fixes #11538
Diffstat (limited to 'hugolib/page__meta.go')
-rw-r--r-- | hugolib/page__meta.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page__meta.go b/hugolib/page__meta.go index 0dd236904..3781a847a 100644 --- a/hugolib/page__meta.go +++ b/hugolib/page__meta.go @@ -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 |