From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org to static site? Date: Mon, 05 Jun 2017 17:16:51 -0400 Message-ID: <87mv9mp22k.fsf@alphaville.usersys.redhat.com> References: <3bf40b12-954f-4d17-9436-efd8e12a7d50@gmail.com> 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]:42875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHzN3-0000ZL-G8 for emacs-orgmode@gnu.org; Mon, 05 Jun 2017 17:17:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHzMz-0002RX-8n for emacs-orgmode@gnu.org; Mon, 05 Jun 2017 17:17:05 -0400 Received: from [195.159.176.226] (port=57746 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHzMz-0002R9-29 for emacs-orgmode@gnu.org; Mon, 05 Jun 2017 17:17:01 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dHzMr-0000fM-RV for emacs-orgmode@gnu.org; Mon, 05 Jun 2017 23:16:53 +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 Scott Randby writes: > On 06/05/2017 01:59 AM, John Ankarström wrote: >> On June 5, 2017 1:26:15 AM GMT+07:00, Scott Randby wrote: >>> >>> 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 >> >> Sounds interesting. >> >> Do you have any way to generate an index page for your blog? > > I have an idea about how to generate an index page, but I haven't had > time to work out the details. Instead, since it isn't much work, I will > add entries by hand to an index page. I don't have an index page right > now because it isn't useful for my students. > > Actually, my site isn't a blog, it is for the classes I teach. I post > class notes, class audio, and other items for each class. What I like > about using my own site for teaching is that students don't need to log > into a learning management system to get the lessons. I've also designed > the site so that it works well on mobile devices (which is why the > design is very simple). Below is a link to the site I used for one of my > courses last semester and a link to a page containing some templates and > notes for things I didn't use last semester but might use in the future. > I don't have my source code posted anywhere yet, but I'm thinking about > setting up a Git repository somewhere as soon as I get a better grasp of > Git. Well, I'm also not sure if anyone else cares about such simple code. > You'd be surprised :-) I think there is a *need* for simple code, the simpler the better. If I can do anything to push you along, let me know! > http://srandby.org/2017-1/356-001/home.html > > http://srandby.org/lesson-examples/lessons.html > > Org is amazing. I don't know elisp, I'm certainly not an advanced user > of Emacs, and I don't know how to do that really sophisticated Org stuff > that others talk about on this list, but I can make a functional web > site with Org without trouble by using the basic export functions. > Adding new pages, editing old pages, and updating is trivial. I know a > lot of people who use Markdown and static site generators, but Org is > much better for my purposes. And I can use it for many other things too. > Sorry for this unnecessary rant, but I just love Org. > Can this paragraph please be added to http://orgmode.org/worg/org-quotes.html? It certainly added a smile to my day. -- Nick