ox-html.el: Fix document structure for org-info.js compatibility.
commitcfe1d9a9fcb7f9249c4b9def3a39d3861f515ed0
authorBastien Guerry <bzg@altern.org>
Fri, 1 Mar 2013 12:57:54 +0000 (1 13:57 +0100)
committerBastien Guerry <bzg@altern.org>
Fri, 1 Mar 2013 12:57:54 +0000 (1 13:57 +0100)
treed31596a26f5bd1dec7b313991716fa7fc0397409
parent25b5ab8a23470e8c06bd652c1eef66a016d84b58
ox-html.el: Fix document structure for org-info.js compatibility.

* ox-html.el (org-html-inner-template): Add the document title
here, within the "content" class, as the org-info.js needs it.
(org-html-template): Don't include the document's title here.
(org-html-format-inlinetask-function): Remove wrong example.

Although counter-intuitive and certainly weird, the
<h1 class="title"> string needs to be within the "content"
div, not before it.  We would need the developer of org-info.js
to update org-info.js to put the title outside of "content".
lisp/ox-html.el