Kaushal Modi writes: > This patch fixes this: > > From e57e9e798dd1a54cae7a633fc67e2f825b967eea Mon Sep 17 00:00:00 2001 > From: Kaushal Modi > Date: Mon, 31 Jul 2017 14:30:40 -0400 > Subject: [PATCH] Respect :with-title in ox-html > > * lisp/ox-html.el (org-html--build-meta-info): Do not insert > tag in HTML export if :with-title property is nil. Example: by > setting #+OPTIONS: title:nil > > Reported by: Ian <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 aeb38ebc10..08381d0c19 100644 > --- a/lisp/ox-html.el > +++ b/lisp/ox-html.el > @@ -1812,7 +1812,8 @@ INFO is a plist used as a communication channel." > viewport-options ", ")) > info) > "\n"))) > - (format "<title>%s\n" title) > + (when (plist-get info :with-title) > + (format "%s\n" title)) > (org-html-close-tag "meta" "name=\"generator\" content=\"Org mode\"" > info) > "\n" > (and (org-string-nw-p author) That is wrong IMO. Title is mandatory in at least HTML{4,5}. https://www.w3schools.com/tags/tag_title.asp AFAIR Org already allows invalid HTML document to be produced when the TITLE is empty, as it’s translated into an empty quote. The right approach IMO is not printing the h1-title block, as in the attached patch. (In general generating the title block should be moved to something like ‘org-html-preamble-format’, though it probably shouldn’t depend on the language of the document...) Rasmus -- Er du tosset for noge' lårt!