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

Reply via email to