From: Fabrice Popineau <fabrice.popineau@supelec.fr>
To: Scott Randby <srandby@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: org to static site?
Date: Tue, 6 Jun 2017 11:12:22 +0200 [thread overview]
Message-ID: <CAFgFV9NdNXSQJSg7YXzVYywLZfHSah8bXjAz_zdk=K20ZMbYcw@mail.gmail.com> (raw)
In-Reply-To: <3bf40b12-954f-4d17-9436-efd8e12a7d50@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]
I do the same, albeit I won't qualify my setup as 'simple'.
I export all my teaching stuff, personal web page and so on from Org files,
one file per
course or topic. I export html files, reveal presentations, pdf files for
exams or reference documents,
even IPython notebooks (thanks to John Kitchin).
I haven' t found an easy way to rely on ox-publish for subtree publishing
with this scheme where you keep everything in the same Org file.
The problem was with navigation. I use a templating system
where I compute menus and body documents that are inserted in
some html template. So I had to write all the functions that will
do this computation and resolve cross links (not yet perfect in this are).
2017-06-04 20:26 GMT+02:00 Scott Randby <srandby@gmail.com>:
> On 05/31/2017 11:00 AM, Matt Price wrote:
> > I'm trying to wean myself off of Wordpress for next year's teaching
> > websites, and am wondering what solutions other people are using for
> > turning a collection of org pages and/or subtrees into a static html
> > site. I am leaning towards Hugo but honestly not for any sensible
> > reason; I've seen other people use Jekyll, though the fact that Github
> > doesn't support direct conversion from org-mode removes some of Jekyll's
> > appeal; and I know there are a number of other solutions too.
> >
> > So, I would love to hear what you all recommend.
>
> Maybe this is too primitive, but I keep all the content in one Org file
> and export the text under each top-level headline as a single HTML page.
> I use some simple macros if I need to export more than one top-level
> headline. I keep the CSS code in a separate file. Keeping all the
> content in one file makes it really easy to add new pages and edit old
> pages. I use a preamble for site navigation.
>
> Scott Randby
>
>
--
Fabrice Popineau
-----------------------------
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
------------------------------
[-- Attachment #2: Type: text/html, Size: 2833 bytes --]
next prev parent reply other threads:[~2017-06-06 9:13 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 15:00 org to static site? Matt Price
2017-05-31 15:08 ` Russell Adams
2017-05-31 15:17 ` Jeffrey Brent McBeth
2017-05-31 15:29 ` Russell Adams
2017-05-31 15:34 ` John Hendy
2017-05-31 16:20 ` Russell Adams
2017-05-31 16:37 ` John Kitchin
2017-05-31 15:32 ` John Hendy
2017-05-31 16:08 ` Puneeth Chaganti
2017-05-31 16:17 ` John Hendy
2017-05-31 17:05 ` Chunyang Xu
2017-05-31 19:51 ` John Ankarström
2017-05-31 18:23 ` lists
2017-06-01 7:46 ` Julian M. Burgos
2017-06-01 10:09 ` Rasmus
2017-06-04 18:26 ` Scott Randby
2017-06-05 5:59 ` John Ankarström
2017-06-05 16:54 ` Scott Randby
2017-06-05 21:16 ` Nick Dokos
2017-06-06 2:41 ` Scott Randby
2017-06-10 9:21 ` Nicolas Goaziou
2017-06-10 18:13 ` Scott Randby
2017-06-06 9:12 ` Fabrice Popineau [this message]
2017-06-08 8:14 ` Ken Mankoff
2017-11-30 5:13 ` George myglc2 Clemmer
2017-12-01 17:17 ` Tory S. Anderson
2017-12-01 21:13 ` George myglc2 Clemmer
2017-12-01 20:19 ` Adonay Felipe Nogueira
2017-12-02 2:53 ` myglc2
2017-12-05 12:30 ` Rasmus
2017-12-05 16:40 ` myglc2
2017-12-05 19:10 ` ox-publish export subtree scopes? (Was: org to static site?) Kaushal Modi
2017-12-10 7:15 ` ox-publish export subtree scopes? Narendra Joshi
2017-12-19 11:53 ` Rasmus
2018-01-15 21:27 ` Adonay Felipe Nogueira
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='CAFgFV9NdNXSQJSg7YXzVYywLZfHSah8bXjAz_zdk=K20ZMbYcw@mail.gmail.com' \
--to=fabrice.popineau@supelec.fr \
--cc=emacs-orgmode@gnu.org \
--cc=fabrice.popineau@centralesupelec.fr \
--cc=srandby@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 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.