From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: Re: org to static site? Date: Mon, 5 Jun 2017 22:41:58 -0400 Message-ID: <33849f86-3e84-9b56-ef3f-7858f32e391c@gmail.com> References: <3bf40b12-954f-4d17-9436-efd8e12a7d50@gmail.com> <87mv9mp22k.fsf@alphaville.usersys.redhat.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]:52595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dI4Rf-0008ON-KF for emacs-orgmode@gnu.org; Mon, 05 Jun 2017 22:42:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dI4Re-00068w-CO for emacs-orgmode@gnu.org; Mon, 05 Jun 2017 22:42:11 -0400 Received: from mail-it0-x233.google.com ([2607:f8b0:4001:c0b::233]:35549) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dI4Re-000688-6h for emacs-orgmode@gnu.org; Mon, 05 Jun 2017 22:42:10 -0400 Received: by mail-it0-x233.google.com with SMTP id m62so80776734itc.0 for ; Mon, 05 Jun 2017 19:42:08 -0700 (PDT) Received: from ?IPv6:2605:a000:121e:108:dc92:f6fe:7e23:2823? ([2605:a000:121e:108:dc92:f6fe:7e23:2823]) by smtp.gmail.com with ESMTPSA id 93sm14760829iop.11.2017.06.05.19.42.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Jun 2017 19:42:07 -0700 (PDT) In-Reply-To: <87mv9mp22k.fsf@alphaville.usersys.redhat.com> 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: emacs-orgmode@gnu.org On 06/05/2017 05:16 PM, Nick Dokos wrote: > 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! Okay, I consider your comment a push. My two obstacles are time and weak understanding of Git. I will work on overcoming both. > >> 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. Sure, it can be added. I'm glad you liked it. Scott Randby >