From: Vincent Beffara <vbeffara@ens-lyon.fr>
To: emacs-orgmode@gnu.org
Subject: Create preamble from an .org file ?
Date: Tue, 27 Mar 2012 11:04:51 +0200 [thread overview]
Message-ID: <jkrvqv$v43$1@dough.gmane.org> (raw)
Hi,
To manage my personal website I would like to use the publish function
of org-mode. For the contents of pages, there is no problem, and the
auto-sitemap feature is promising. however, I would like to have some
common contents to all the individual pages, and they would best fit in
the preamble part. Essentially, I would have a preamble.org file
containing this:
--------
#+IMPORT: sitemap.org
* A few links
- link 1
- link 2
* Contact info
- address
- email
--------
and the contents of the preamble would be an html version of that (of
course without all the <head> section and so on). Optimally, of course,
preamble.org should not be linked from the site map.
How do I do that? Maybe a dedicated .org file for the navigation bar is
not the right way to do, is there a better one?
Thanks,
/vincent
next reply other threads:[~2012-03-27 9:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 9:04 Vincent Beffara [this message]
2012-03-27 20:11 ` Create preamble from an .org file ? Bastien
2012-03-28 16:06 ` Vincent Beffara
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='jkrvqv$v43$1@dough.gmane.org' \
--to=vbeffara@ens-lyon.fr \
--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 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).