[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] expire tag in Org-Mode HTML export
From: |
Bernt Hansen |
Subject: |
Re: [O] expire tag in Org-Mode HTML export |
Date: |
Mon, 27 Feb 2012 07:35:54 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) |
Stefan Vollmar <address@hidden> writes:
> Hello,
>
> we want to include a
> <META HTTP-EQUIV="EXPIRES" CONTENT="0">
> entry in the HTML export of our Org pages to indicate that browsers
> should not cache the pages but rather reload them the next time.
>
> This line should go into the "head" part of the HTML pages (otherwise
> "#+html:" would solve the problem) - how can we accomplish this in
> Org-mode?
>
> Many thanks in advance.
> Warm regards,
> Stefan
Hi Stefan,
You might be able to stick it in the extra style variable like this
--8<---------------cut here---------------start------------->8---
(setq org-export-html-style-extra
"<meta HTTP-EQUIV=\"EXPIRES\" CONTENT=\"0\">")
--8<---------------cut here---------------end--------------->8---
HTH,
Bernt