From dace1586373df27863934675967eef8c56747a82 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Tue, 1 Aug 2017 11:32:44 +0200 Subject: [PATCH] ox-html: Respect the "title" option * lisp/ox-html.el (org-html-template): Respect :with-title. Reported-by: lists@wilkesley.net --- lisp/ox-html.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 06dee3af6..43e4ef8d4 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -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 -- 2.13.3