Nicolas Goaziou <n.goaz...@gmail.com> writes: > Hello, > > Jürgen Hötzel <juer...@hoetzel.info> writes: > >> 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? > > 1. Disable default TOC with, e.g. #+options: toc:nil > 2. Insert your HTML environment > 3. Insert TOC after it with "#+TOC: headlines". > >
The OP talks about changing the order of the TOC and the YAML front-matter but according to the Jekyll docs [fn:1], this is not enough: ,---- | Front-matter | | The front-matter is where Jekyll starts to get really cool. Any file | that contains a YAML front matter block will be processed by Jekyll as a | special file. The front matter must be the first thing in the file and | must take the form of valid YAML set between triple-dashed lines. Here | is a basic example: | | --- | layout: post | title: Blogging Like a Hacker | --- `---- Footnotes: [fn:1] http://jekyllrb.com/docs/frontmatter/ -- Nick