mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-20 16:22:49 +00:00
Add dummy title
Else pandoc complains about missing title
This commit is contained in:
parent
6de4f5cde5
commit
769439cc5b
|
@ -80,7 +80,7 @@ func (c *pandocConverter) getPandocContent(src []byte, ctx converter.DocumentCon
|
|||
" Leaving pandoc content unrendered.")
|
||||
return src, nil
|
||||
}
|
||||
args := []string{"--mathjax", "--toc", "-s", "--quiet"}
|
||||
args := []string{"--mathjax", "--toc", "-s", "--metadata", "title=dummy"}
|
||||
return internal.ExternallyRenderContent(c.cfg, ctx, src, binaryName, args)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue