ox-html: Respect the "title" option
* lisp/ox-html.el (org-html-template): Respect :with-title. Reported-by: lists@wilkesley.net <http://permalink.gmane.org/gmane.emacs.orgmode/114942>
This commit is contained in:
parent
7e46af419c
commit
8ab9a82be2
|
@ -2068,7 +2068,8 @@ holding export options."
|
|||
(format "<%s id=\"%s\">\n" (nth 1 div) (nth 2 div)))
|
||||
;; Document title.
|
||||
(when (plist-get info :with-title)
|
||||
(let ((title (plist-get info :title))
|
||||
(let ((title (and (plist-get info :with-title)
|
||||
(plist-get info :title)))
|
||||
(subtitle (plist-get info :subtitle))
|
||||
(html5-fancy (org-html--html5-fancy-p info)))
|
||||
(when title
|
||||
|
|
Loading…
Reference in New Issue