From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: org to static site? Date: Thu, 01 Jun 2017 12:09:23 +0200 Message-ID: <87efv4t3xo.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGN2u-00010s-Nc for emacs-orgmode@gnu.org; Thu, 01 Jun 2017 06:09:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGN2r-0008I3-JO for emacs-orgmode@gnu.org; Thu, 01 Jun 2017 06:09:36 -0400 Received: from [195.159.176.226] (port=58725 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGN2r-0008HI-CA for emacs-orgmode@gnu.org; Thu, 01 Jun 2017 06:09:33 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dGN2j-0008VU-HG for emacs-orgmode@gnu.org; Thu, 01 Jun 2017 12:09:25 +0200 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: emacs-orgmode@gnu.org Hi, > 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 use ox and ox-publish. Since ox-publish can be recursive it's quite versatile. I use a lot of css as well. Using special-blocks, you should be able to make any look that you need. > 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. On my laptop, I just keep raw org files and sometimes html files. ox-publish converts all org files and just copy over html, css and js files. I push changes to gitlab which then builds the website using gitlab-ci. Gitlab also deploys the website to my domain and works with Let’s Encrypt. https://gitlab.com/pages/org-mode Hope it helps, Rasmus -- Lasciate ogni speranza, voi che leggete questo.