|
From: | Ian Barton |
Subject: | Re: [Orgmode] Html Exporter Suppressing Blank Lines at Start |
Date: | Sat, 21 Nov 2009 18:42:54 +0000 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090817) |
Hmmm, when I do this export, I get a full html file, with header and all, and he first "---" as the <h1> title of the document.Could you please tell in more detail what you mean? Thanks. - Carsten On Nov 21, 2009, at 5:12 PM, Ian Barton wrote:I am playing with Jekyll as a possible blogging solution for org. So far it looks good, but there is one small problem. You can use yaml in your html, but it has to be the very first thing in the file:In my org file I have: #+STARTUP: showall indent #+STARTUP: hidestars #+BEGIN_HTML --- layout: default title: Benighted on the Ben. --- #+END_HTML It was early January when six of us travelled up toWhen I export to html I end up with two blank lines at the top of the file above the first ---. Is there a way to get the html exporter not to insert those two blank lines?
Sorry, I should have provided more detail. Here is the relevant part of my org-publish-project-alist.
("org-ianbarton" :base-directory "~/devel/ianbarton/org/" :base-extension "org" :publishing-directory "~/devel/ianbarton/jekyll/" :recursive t :publishing-function org-publish-org-to-html:headline-levels 4 ; Just the default for this project.
:html-extension "html" :body-only t ) ("org-static-ian" :base-directory "~/devel/ianbarton/org/":base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php"
:publishing-directory "~/devel/ianbarton/" :recursive t :publishing-function org-publish-attachment) ("ian" :components ("org-ianbarton" "org-static-ian")) Ian.
[Prev in Thread] | Current Thread | [Next in Thread] |