[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-publish: Best practice to generate a html header on a per-fi
From: |
Bastien |
Subject: |
Re: [O] org-publish: Best practice to generate a html header on a per-file basis ? |
Date: |
Tue, 19 Jul 2011 18:36:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Sander,
Sander Boer <address@hidden> writes:
> I've been investigating a viable way to generate for every exported html
> file in an org-publish project a list of links to all the other html files
> in the directory-tree and I'm stuck.
Not tested: perhaps you can try to generate the sitemap.org file and
include it into your other Org files with #+INCLUDE?
> Incidently, it took a long time to figure out that one cannot pass
> mere functions to html-preamble like this:
> :html-preamble 'my-cool-function-that-returns-a-string
You can use
:html-preamble my-cool-function-that-returns-a-string
with no "'"
Note that this function must take no argument and output a string
since the commit I just pushed.
Thanks,
--
Bastien