emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] how to disable timestamp html export


From: Nick Dokos
Subject: Re: [O] how to disable timestamp html export
Date: Wed, 05 Jun 2013 12:44:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

OSiUX <address@hidden> writes:

> When export using org-publish-project,
> Org add a comment with timestamp in HTML:
>
>  # git diff
>
>  <html xmlns="http://www.w3.org/1999/xhtml"; lang="es" xml:lang="es">
>   <head>
>   <title>viewing two years of orgmode with gnuplot</title>
>  -<!-- 2013-06-05 mié 12:10 -->
>  +<!-- 2013-06-05 mié 12:38 -->
>   <meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
>   <meta  name="generator" content="Org-mode" />
>
> In my .emacs, I have:
>
>     (setq org-publish-project-alist
>           (quote (("osiux-blog-org"
>                 ...others...options...
>                 :with-timestamps nil
>
> How I can disable this feature?
>

To do it globally, customize org-export-time-stamp-file and set it to
nil.

Per file, you can use an option:

--8<---------------cut here---------------start------------->8---
#+OPTIONS: timestamp:nil
--8<---------------cut here---------------end--------------->8---

or through a local variable by adding this at the *end* of the file:

--8<---------------cut here---------------start------------->8---
# Local Variables:
# org-export-time-stamp-file: nil
# End:
--8<---------------cut here---------------end--------------->8---

You will need to close and reopen the file in this case, for it
to take effect.

OTOH, it's just a comment: org is trying to be helpful and tell you
when the html file was produced. Why do you want to get rid of it?
At some point, it might save you hours of debugging (ok, rhetorical
exaggeration perhaps, but still...)
-- 
Nick




reply via email to

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