emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-html-publish-to-html: embed HTML in first line of export
Date: Wed, 04 Dec 2013 21:59:02 -0500	[thread overview]
Message-ID: <87mwkgxatl.fsf@gmail.com> (raw)
In-Reply-To: 87iov4uuge.fsf@gmail.com

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Jürgen Hötzel <juergen@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

  reply	other threads:[~2013-12-05  2:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-04 19:30 org-html-publish-to-html: embed HTML in first line of export Jürgen Hötzel
2013-12-04 22:23 ` Nicolas Goaziou
2013-12-05  2:59   ` Nick Dokos [this message]
2013-12-05  8:46   ` Jürgen Hötzel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwkgxatl.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).