From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-html-publish-to-html: embed HTML in first line of export Date: Wed, 04 Dec 2013 21:59:02 -0500 Message-ID: <87mwkgxatl.fsf@gmail.com> References: <87iov4uuge.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoP9v-00054R-Hj for emacs-orgmode@gnu.org; Wed, 04 Dec 2013 21:59:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoP9q-0003Ic-6Z for emacs-orgmode@gnu.org; Wed, 04 Dec 2013 21:59:23 -0500 Received: from plane.gmane.org ([80.91.229.3]:48631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoP9p-0003IW-W6 for emacs-orgmode@gnu.org; Wed, 04 Dec 2013 21:59:18 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VoP9l-000083-D5 for emacs-orgmode@gnu.org; Thu, 05 Dec 2013 03:59:13 +0100 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Dec 2013 03:59:13 +0100 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Dec 2013 03:59:13 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Jürgen Hötzel 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