emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: psycho_punch <psychopunchme@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Using templates for generating HTML
Date: Mon, 9 Jun 2014 19:45:41 +0800	[thread overview]
Message-ID: <CADWK+fdTffME9bUG957JV7fsN5CN4ggMKKorDp8s1CHQM-Jb9A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 652 bytes --]

                 reply	other threads:[~2014-06-09 11:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=CADWK+fdTffME9bUG957JV7fsN5CN4ggMKKorDp8s1CHQM-Jb9A@mail.gmail.com \
    --to=psychopunchme@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=psychopunch.me@gmail.com \
    /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 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).