From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: Re: org to static site? Date: Sun, 4 Jun 2017 14:26:15 -0400 Message-ID: <3bf40b12-954f-4d17-9436-efd8e12a7d50@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHaEI-0005AP-KU for emacs-orgmode@gnu.org; Sun, 04 Jun 2017 14:26:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHaEH-00082W-TU for emacs-orgmode@gnu.org; Sun, 04 Jun 2017 14:26:22 -0400 Received: from mail-it0-x242.google.com ([2607:f8b0:4001:c0b::242]:35576) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHaEH-00081D-Mr for emacs-orgmode@gnu.org; Sun, 04 Jun 2017 14:26:21 -0400 Received: by mail-it0-x242.google.com with SMTP id 67so18970847itx.2 for ; Sun, 04 Jun 2017 11:26:20 -0700 (PDT) In-Reply-To: Content-Language: en-US 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: Matt Price , Org Mode 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