From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org to static site? Date: Wed, 31 May 2017 16:37:26 +0000 Message-ID: References: <20170531150856.GN16590@volibear.adamsinfoserv.com> <20170531151710.4lkbxgec53neivnw@broggs.org> <20170531152912.GO16590@volibear.adamsinfoserv.com> <20170531162021.GP16590@volibear.adamsinfoserv.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1143cedac419360550d48968" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG6cz-0002bd-JJ for emacs-orgmode@gnu.org; Wed, 31 May 2017 12:37:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dG6cv-0005la-Er for emacs-orgmode@gnu.org; Wed, 31 May 2017 12:37:45 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:35174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dG6cv-0005kP-53 for emacs-orgmode@gnu.org; Wed, 31 May 2017 12:37:41 -0400 Received: by mail-wm0-f45.google.com with SMTP id b84so125967710wmh.0 for ; Wed, 31 May 2017 09:37:39 -0700 (PDT) In-Reply-To: <20170531162021.GP16590@volibear.adamsinfoserv.com> 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 --001a1143cedac419360550d48968 Content-Type: text/plain; charset="UTF-8" I have used blogofile for many years now. I write the posts in orgmode but export them to html with the required yaml header. That approach could also be used for markdown. This old http://kitchingroup.cheme.cmu.edu/blog/2013/09/27/Publishing-to-blogofile-using-org-mode/ but lays out the basic approach I use with my blog. Note I am not sure I would recommend blogofile today. It is not actively developed anymore I think. It does what I want these days. On Wed, May 31, 2017 at 12:21 PM Russell Adams wrote: > On Wed, May 31, 2017 at 10:34:57AM -0500, John Hendy wrote: > > On Wed, May 31, 2017 at 10:29 AM, Russell Adams > > wrote: > > > > > > On Wed, May 31, 2017 at 11:17:10AM -0400, Jeffrey Brent McBeth wrote: > > >> Nikola supports org-mode last I checked though? > > > > > > I think it tries to remotely call emacs to compile the org to html, > but I didn't want the extra layers. Markdown is adequate. > > > > > >> I use Nikola, and find the documentation frustratingly incomplete, > but not so frustrating as to change :) > > > > > > Yeah, but IRC has been good for answering questions. I was able to get > a minimal site with NO external links, libs, js, > > > css, other crap, etc in a short time. > > > > I'm intrigued. Do you have the sources or could you post the gist > > somewhere? While the result looks more or less pretty, the bootstrap3 > > base was super intimidating with respect to changing anything. I > > probably hunted for 30min or more just to figure out why changing the > > navbar color didn't work. Turns out it was hardcoded to use the > > navbar-inverse class instead of the regular navbar class!? > > http://adamssystems.nl/ > > You can examine the CSS there. I disabled all CDNs. I didn't want any > javascript, external libs, etc. My ublock shows > zero other sites, no third party code. > > I'd have to dig into how I customized the pre-compiled css files. > > > > > John > > > > > I think my only complaint is that when I moved laptops my Python > version changed and now I have to fix it. > > > > > > > > > ------------------------------------------------------------------ > > > Russell Adams RLAdams@AdamsInfoServ.com > > > > > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > > > > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > > > > > > ------------------------------------------------------------------ > Russell Adams RLAdams@AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > -- John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu --001a1143cedac419360550d48968 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have used blogofile for many years now. I write the posts in orgmode= but export them to html with the required yaml header.=C2=A0
That approach could also be used for markdown. This old=C2=A0http://kitchingroup.cheme.cmu.edu/blog/2013/09/27/= Publishing-to-blogofile-using-org-mode/ but lays out the basic approach= I use with my blog.

Note I am not sure I would re= commend blogofile today. It is not actively developed anymore I think. It d= oes what I want these days.=C2=A0
On Wed= , May 31, 2017 at 12:21 PM Russell Adams <RLAdams@adamsinfoserv.com> wrote:
On Wed, May 31, 2017 at 10:34:57AM -0500, John Hendy w= rote:
> On Wed, May 31, 2017 at 10:29 AM, Russell Adams
> <RLA= dams@adamsinfoserv.com> wrote:
> >
> > On Wed, May 31, 2017 at 11:17:10AM -0400, Jeffrey Brent McBeth wr= ote:
> >> Nikola supports org-mode last I checked though?
> >
> > I think it tries to remotely call emacs to compile the org to htm= l, but I didn't want the extra layers. Markdown is adequate.
> >
> >> I use Nikola, and find the documentation frustratingly incomp= lete, but not so frustrating as to change :)
> >
> > Yeah, but IRC has been good for answering questions. I was able t= o get a minimal site with NO external links, libs, js,
> > css, other crap, etc in a short time.
>
> I'm intrigued. Do you have the sources or could you post the gist<= br> > somewhere? While the result looks more or less pretty, the bootstrap3<= br> > base was super intimidating with respect to changing anything. I
> probably hunted for 30min or more just to figure out why changing the<= br> > navbar color didn't work. Turns out it was hardcoded to use the > navbar-inverse class instead of the regular navbar class!?

ht= tp://adamssystems.nl/

You can examine the CSS there. I disabled all CDNs. I didn't want any j= avascript, external libs, etc. My ublock shows
zero other sites, no third party code.

I'd have to dig into how I customized the pre-compiled css files.

>
> John
>
> > I think my only complaint is that when I moved laptops my Python = version changed and now I have to fix it.
> >
> >
> > -----------------------------------------------------------------= -
> > Russell Adams=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 RLAdams@AdamsInfoServ.com
> >
> > PGP Key ID:=C2=A0 =C2=A0 =C2=A00x1160DCB3=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0http://www.adamsinfoserv.com/
> >
> > Fingerprint:=C2=A0 =C2=A0 1723 D8CA 4280 1EC9 557F=C2=A0 66E8 115= 4 E018 1160 DCB3
> >
>


------------------------------------------------------------------
Russell Adams=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 RLAdams@AdamsInfoServ.com

PGP Key ID:=C2=A0 =C2=A0 =C2=A00x1160DCB3=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0http://www.adamsinfoserv.com/

Fingerprint:=C2=A0 =C2=A0 1723 D8CA 4280 1EC9 557F=C2=A0 66E8 1154 E018 116= 0 DCB3

--
John

---= --------------------------------
Professor John Kitchin=C2=A0
Doherty= Hall A207F
Department of Chemical Engineering
Carnegie Mellon Univer= sity
Pittsburgh, PA 15213
412-268-7803
--001a1143cedac419360550d48968--