[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-html-publish-to-html: embed HTML in first line of export
From: |
Nick Dokos |
Subject: |
Re: [O] org-html-publish-to-html: embed HTML in first line of export |
Date: |
Wed, 04 Dec 2013 21:59:02 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Jürgen Hötzel <address@hidden> 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