[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Org as a static site generator
From: |
Vincent Beffara |
Subject: |
Re: [O] Org as a static site generator |
Date: |
Mon, 1 Apr 2013 14:08:38 +0200 |
> > > Thing of a typical HTML5 template having a <header>, <nav>, <footer>,
> > > and <article>. I'd like Org to include the different exported files into
> > > the <article> section, and the rest to remain the same. The <nav> would
> > > contain a global navigation menu, also highlighting the current active
> > > section (though CSS, no JS please).
> >
> > I never quite managed to do that ... but it should definitely be doable.
>
> It's really simple to do. You just have to include some 'id' in the
> <body> which indicates to which section it belongs to.
Yes, I mean, I know which html you need for that, simply within o-blog you need
to manage between relative paths, absolute paths, canonical paths and so on in
the template, to match the right section, - mainly it should be a matter of
let-ing the right variable to the right value at the right point in the
template and catching it when generating the toc, but I never took the time to
get it right ...
> I've also just found this, which uses Org only as a markup tool and
> Jekyll to generate the site:
>
> http://orgmode.org/worg/org-tutorials/org-jekyll.html
I had a look at the too, but it felt just a little bit too convoluted compared
to managing everything from Org. Besides, it seems to lose fontification of
code snippets and the like?
/v
- [O] Org as a static site generator, David Engster, 2013/04/01
- Re: [O] Org as a static site generator, Vincent Beffara, 2013/04/01
- Re: [O] Org as a static site generator, David Engster, 2013/04/01
- Re: [O] Org as a static site generator,
Vincent Beffara <=
- Re: [O] Org as a static site generator, Ian Barton, 2013/04/01
- Re: [O] Org as a static site generator, Christopher Allan Webber, 2013/04/05
- Re: [O] Org as a static site generator, Ian Barton, 2013/04/06
- Re: [O] Org as a static site generator, Christopher Allan Webber, 2013/04/06
- Re: [O] Org as a static site generator, Ian Barton, 2013/04/06
Re: [O] Org as a static site generator, 'Mash (Thomas Herbert), 2013/04/10