[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] org-html-publish-to-html: embed HTML in first line of export
From: |
Jürgen Hötzel |
Subject: |
[O] org-html-publish-to-html: embed HTML in first line of export |
Date: |
Wed, 4 Dec 2013 20:30:57 +0100 |
Hi,
I use a Org/Jekyll setup: http://orgmode.org/worg/org-tutorials/org-jekyll.html
As described in the tutorial, each Org file must start with the following lines:
#+BEGIN_HTML
---
layout: default
title: Org Test
excerpt: Excerpt from Org
---
#+END_HTML
because Jekyll needs the meta information on top of a HTML file for
processing the pages.
As of the release of Org 8.0 (with the new export framework) the order
of the table of contents and the HTML environment (i inserted on top
of the Org file) has changed. With the new exporter I get this:
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1. Section</a></li>
</ul>
</div>
</div>
---
layout: default
title: Org Test
excerpt: Excerpt from Org
---
wheres with the old exporter i got:
---
layout: default
title: Org Test
excerpt: Excerpt from Org
---
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1. Section</a></li>
</ul>
</div>
</div>
So Jekyll can't process files and the resulted HTML pages are corrupted
Any hints, how i can change the order of the TOC and HTML environment?
Thank!
Jürgen
- [O] org-html-publish-to-html: embed HTML in first line of export,
Jürgen Hötzel <=