emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Javascript in postamble
@ 2012-11-07 21:12 Vikas Rawal
  2012-12-18 17:54 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Vikas Rawal @ 2012-11-07 21:12 UTC (permalink / raw)
  To: emacs-orgmode

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?

Vikas

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Javascript in postamble
  2012-11-07 21:12 Javascript in postamble Vikas Rawal
@ 2012-12-18 17:54 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-12-18 17:54 UTC (permalink / raw)
  To: emacs-orgmode

Hi Vikas,

Vikas Rawal <vikaslists@agrarianresearch.org> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-18 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-07 21:12 Javascript in postamble Vikas Rawal
2012-12-18 17:54 ` Bastien

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).