mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 03:36:42 +00:00
Change message for missing HTML title warning.
Suggest setting the `pagetitle` variable instead of setting `title` in metadata, which also has the effect of adding an h1 element. Closes #11307.
This commit is contained in:
@@ -377,8 +377,7 @@ showLogMessage msg =
|
||||
NoTitleElement fallback ->
|
||||
"This document format requires a nonempty <title> element.\n" <>
|
||||
"Defaulting to '" <> fallback <> "' as the title.\n" <>
|
||||
"To specify a title, use 'title' in metadata or " <>
|
||||
"--metadata title=\"...\"."
|
||||
"To specify a title, use --variable pagetitle=\"...\"."
|
||||
NoLangSpecified ->
|
||||
"No value for 'lang' was specified in the metadata.\n" <>
|
||||
"It is recommended that lang be specified for this format."
|
||||
|
||||
Reference in New Issue
Block a user