all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: how to disable timestamp html export
Date: Wed, 05 Jun 2013 12:44:11 -0400	[thread overview]
Message-ID: <87hahco6ck.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: 20130605160600.GA9699@osiux.com.ar

OSiUX <xuiso@osiux.com.ar> 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	other threads:[~2013-06-05 16:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05 16:06 how to disable timestamp html export OSiUX
2013-06-05 16:44 ` Nick Dokos [this message]
2013-06-11 15:12   ` OSiUX
2013-06-27 14:54 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hahco6ck.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.