From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: Publishing: building navigation menus and lists of files Date: Fri, 10 Jul 2015 14:37:25 -0400 Message-ID: References: <95A8FC33-6289-4C4B-A0E5-92311FC58D24@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3079bd92cdab94051a89a9d3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDdAv-00088v-36 for emacs-orgmode@gnu.org; Fri, 10 Jul 2015 14:37:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDdAr-0008CS-U3 for emacs-orgmode@gnu.org; Fri, 10 Jul 2015 14:37:29 -0400 Received: from mail-vn0-x22a.google.com ([2607:f8b0:400c:c0f::22a]:33367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDdAr-0008CN-MR for emacs-orgmode@gnu.org; Fri, 10 Jul 2015 14:37:25 -0400 Received: by vnbf7 with SMTP id f7so27791247vnb.0 for ; Fri, 10 Jul 2015 11:37:25 -0700 (PDT) In-Reply-To: <95A8FC33-6289-4C4B-A0E5-92311FC58D24@gmail.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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: Org Mode --20cf3079bd92cdab94051a89a9d3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable i love org-html-themes but it's designed for individual files. I'm interested in embedding the files in a bigger structure; not sure what other people use for this. THere is some hints here: http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html But the menus here are created statically; I would like to generate them dynamically if possible. On Fri, Jul 10, 2015 at 8:58 AM, Rainer M Krug wrote: > > > Envoy=C3=A9 de mon iPhone > > Le 10 juil. 2015 =C3=A0 14:16, Matt Price a =C3=A9cr= it : > > I am hoping to finally transition some of my websites to static sites > published directly from org finally!). one thing I would really like is t= o > automatically build menus and perhaps index files based on the directory > structure I'm exporting from. So, if I have: > > RLG231 > | > |--Assignments > | | > | |-- Assignment1.org > | > |--Lectures > | > |-- etc > > I would like to have a navigation bar with links to "Assignments" and > "Lectures" , and possibly dropdown menus for "Assignment1.html", etc. > > What do other people do with their websites? > > I have the idea, also, that within the directories I might like to have a= n > "index.org" that looks like this: > > * Lectures > This class has lectures. They are really interesting. Here is a list: > #+BEGIN_SRC > this block will output a nicely formatted html list of all the lectures i= n > this directory, > #+END_SRC > > I imagine other people have figured this out so I would love to learn fro= m > you all... > > > Have you seen org-html-themes https://github.com/fniessen/org-html-themes > ? You might get some ideas from there? > > Cheers, > > Rainer > --20cf3079bd92cdab94051a89a9d3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
i love org-html-themes but it's designed for indi= vidual files. I'm interested in embedding the files in a bigger structu= re; not sure what other people use for this.=C2=A0 THere is some hints here= :

http://orgmode.org/worg/org-tutorials/org-publish-html-tutor= ial.html

But the menus here are created statically; I woul= d like to generate them dynamically if possible.=C2=A0


On Fri, Jul 10, 2015 at= 8:58 AM, Rainer M Krug <r.m.krug@gmail.com> wrote:


Envoy=C3=A9 de mo= n iPhone

Le 10 juil. 2015 =C3=A0 14:16= , Matt Price <mo= ptop99@gmail.com> a =C3=A9crit=C2=A0:

I am hoping to finally transition some of my websites= to static sites published directly from org finally!). one thing I would r= eally like is to automatically build menus and perhaps index files based on= the directory structure I'm exporting from.=C2=A0 So, if I have:
RLG231
|
|--Assignments
|=C2=A0=C2=A0 |
|= =C2=A0=C2=A0 |-- Assig= nment1.org
|
|--Lectures
=C2=A0=C2=A0=C2=A0=C2=A0 |
<= /div>=C2=A0=C2=A0=C2=A0=C2=A0 |-- etc

I would like to have a n= avigation bar with links to "Assignments" and "Lectures"= ; , and possibly dropdown menus for "Assignment1.html", etc.
<= br>
What do other people do with their websites?
I have the idea, also, that within the directories I might like to = have an "index.org&= quot; that looks like this:

* Lectures
This class has= lectures.=C2=A0 They are really interesting.=C2=A0 Here is a list:
#+BEGIN_SRC
this block will output a nicely formatted html list = of all the lectures in this directory,
#+END_SRC

I i= magine other people have figured this out so I would love to learn from you= all...

Have you seen org-html-themes=C2=A0= h= ttps://github.com/fniessen/org-html-themes ? You might get some ideas f= rom there?

Cheers,

Rainer=

--20cf3079bd92cdab94051a89a9d3--