From mboxrd@z Thu Jan 1 00:00:00 1970 From: psycho_punch Subject: Using templates for generating HTML Date: Mon, 9 Jun 2014 19:45:41 +0800 Message-ID: Reply-To: psychopunch.me@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2036432ce1f04fb65c049 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wty1H-0004nN-ST for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 07:45:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wty1H-0002s1-22 for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 07:45:43 -0400 Received: from mail-ig0-x22c.google.com ([2607:f8b0:4001:c05::22c]:40642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wty1G-0002rw-C5 for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 07:45:42 -0400 Received: by mail-ig0-f172.google.com with SMTP id l13so3702888iga.11 for ; Mon, 09 Jun 2014 04:45:41 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a11c2036432ce1f04fb65c049 Content-Type: text/plain; charset=UTF-8 Hello everyone. I'm wondering if there's a way to specify a template when publishing my org-notes into HTML. For example, data like author, creator, etc. are by default added in the postamble. I want to be able to specify what part of the HTML page such data are placed. I tried using #+begin_html...#+end_html template but I can't use macros inside like {{{author}}}. In addition, I want the org-notes to be as agnostic of "publishing intent" as much as possible, which means I'd like to use plain org-mode components (as much as possible). Is there a way to do this? Thanks. --001a11c2036432ce1f04fb65c049 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello everyone.

I'm wondering if there's a = way to specify a template when publishing my org-notes into HTML. For examp= le, data like author, creator, etc. are by default added in the postamble. = I want to be able to specify what part of the HTML page such data are place= d. I tried using #+begin_html...#+end_html template but I can't use mac= ros inside like {{{author}}}. In addition, I want the org-notes to be as ag= nostic of "publishing intent" as much as possible, which means I&= #39;d like to use plain org-mode components (as much as possible).

Is there a way to do this?

Thanks.
--001a11c2036432ce1f04fb65c049--