ox-html.el (org-html-template): Always include the title.
* ox-html.el (org-html-template): Always include the title as <h1 class="title"></h1>, even when there is no title, as org-info.js needs it. Thanks to Henry Atting for reporting this.
This commit is contained in:
parent
a68ae08422
commit
e100bf91c4
|
@ -1593,8 +1593,7 @@ holding export options."
|
|||
(format "<div id=\"%s\">\n" (nth 1 org-html-divs))
|
||||
;; Document title.
|
||||
(let ((title (plist-get info :title)))
|
||||
(when title
|
||||
(format "<h1 class=\"title\">%s</h1>\n" (org-export-data title info))))
|
||||
(format "<h1 class=\"title\">%s</h1>\n" (org-export-data (or title "") info)))
|
||||
contents
|
||||
"</div>\n"
|
||||
;; Postamble.
|
||||
|
|
Loading…
Reference in New Issue