From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: org to static site? Date: Thu, 8 Jun 2017 11:14:55 +0300 Message-ID: References: <3bf40b12-954f-4d17-9436-efd8e12a7d50@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c122e1aa967ff05516e72b6" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIsap-0007jN-3C for emacs-orgmode@gnu.org; Thu, 08 Jun 2017 04:15:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIsan-0006xU-Ly for emacs-orgmode@gnu.org; Thu, 08 Jun 2017 04:14:59 -0400 Received: from mail-qt0-x233.google.com ([2607:f8b0:400d:c0d::233]:33722) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIsan-0006wb-GL for emacs-orgmode@gnu.org; Thu, 08 Jun 2017 04:14:57 -0400 Received: by mail-qt0-x233.google.com with SMTP id u12so32961616qth.0 for ; Thu, 08 Jun 2017 01:14:55 -0700 (PDT) In-Reply-To: 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" To: fabrice.popineau@centralesupelec.fr Cc: Scott Randby , Org Mode --94eb2c122e1aa967ff05516e72b6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I haven't seen anyone mention org-spec https://github.com/thi-ng/org-spec or these themes: https://github.com/fniessen/org-html-themes Both seem like they would make for a fine class webpage. The original request didn't go into details, but for most teaching websites, wordpress is overkill, and a single page (or a few, manually linked) are enough. -k. On Tue, Jun 6, 2017 at 12:12 PM, Fabrice Popineau < fabrice.popineau@supelec.fr> wrote: > 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 publishin= g > 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 : > >> 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=C3=A9partement Informatique > 3, rue Joliot Curie > 91192 Gif/Yvette Cedex > Tel direct : +33 (0) 169851950 <+33%201%2069%2085%2019%2050> > Standard : +33 (0) 169851212 <+33%201%2069%2085%2012%2012> > ------------------------------ > > --94eb2c122e1aa967ff05516e72b6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I haven't seen anyone mention org-spec=C2=A0https://github.com/thi-ng/org-spec= or these themes: h= ttps://github.com/fniessen/org-html-themes
Both seem like they woul= d make for a fine class webpage.
The original request didn't = go into details, but for most teaching websites, wordpress is overkill, and= a single page (or a few, manually linked) are enough.

=
=C2=A0 -k.

On Tue, Jun 6, 2017 at 12:12 PM, Fabrice Popineau <fab= rice.popineau@supelec.fr> wrote:
I do the same, albeit I won't qualify my setup a= s 'simple'.
I export all my teaching stuff, personal web page an= d so on from Org files, one file per=C2=A0
course or topic. I export ht= ml files, reveal presentations, pdf files for exams or reference documents,= =C2=A0
even IPython notebooks (thanks to John Kitchin).
I haven' t found an easy way to rely on ox-publish =C2=A0for subtree p= ublishing
with this scheme where you keep everything in the same = Org file.
The problem was with navigation. I use a templating sys= tem
where I compute menus and body documents that are inserted in=
some html template. So I had to write all the functions that wil= l
do this computation and resolve cross links (not yet perfect in= this are).

=C2=A0

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 tea= ching
> 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 Gi= thub
> doesn't support direct conversion from org-mode removes some of Je= kyll'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 f= ile
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




--
F= abrice Popineau
-----------------------------
SUPELEC
D=C3=A9partement Informatique
3, rue Joliot Curie
91= 192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950=
-----------= -------------------


--94eb2c122e1aa967ff05516e72b6--