all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: giles@pexip.com
To: emacs-orgmode@gnu.org
Subject: Re: Publishing: building navigation menus and lists of files
Date: Mon, 13 Jul 2015 12:13:15 +0100	[thread overview]
Message-ID: <m24ml871kk.fsf@jujutsu.org.uk> (raw)
In-Reply-To: CAN_Dec8MAVHnFJe7Koai7eyPsa8iT-6+56EYjn=5di2+wjQhyw@mail.gmail.com

Matt Price <moptop99@gmail.com> writes:

> 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 to
> automatically build menus and perhaps index files based on the directory
> structure I'm exporting from.

I'm half way there with one of my websites.  Like you, I wanted to
insert a menu based on the file's location within my directory tree.
The solution I came up with was to use the html_preamble
(http://orgmode.org/manual/HTML-preamble-and-postamble.html).  I got
side tracked and only got as far as inserting an identical menu for each
file, but my intention remains to use a function to consider the file's
location in my directory structure and generate a menu accordingly.

Hmm - job for this evening perhaps.

-- 
Giles Chamberlin

      parent reply	other threads:[~2015-07-13 11:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-10 12:16 Publishing: building navigation menus and lists of files Matt Price
2015-07-10 12:58 ` Rainer M Krug
2015-07-10 18:37   ` Matt Price
2015-07-13 11:13 ` giles [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m24ml871kk.fsf@jujutsu.org.uk \
    --to=giles@pexip.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.