emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Javascript in postamble


From: Bastien
Subject: Re: [O] Javascript in postamble
Date: Tue, 18 Dec 2012 18:54:57 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Vikas,

Vikas Rawal <address@hidden> writes:

> For a website that I am producing using orgmode, I would like to
> insert a javascript code in the postamble to get a piwik installation
> to track traffic to the website.
>
> I am unable to add html markup/java script to :html-postamble in
> project alist. The documentation on postamble is too brief for me. Can
> anyone give an example?

Simply set `org-export-html-postamble' to a string containing your
javascript code (or :html-postamble in a publishing project.)

For the new exporter, see `org-e-html-postamble-format', which is a
template string that you can customize.

HTH,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]