emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Taru Karttunen <taruti@taruti.net>
To: "Sébastien Vauban" <zthjwsqqafhv@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Fully featured Web publishing
Date: Mon, 23 Mar 2009 15:50:58 +0200	[thread overview]
Message-ID: <20090323133130.GA12854@taruti.net> (raw)
In-Reply-To: <87k56glbco.fsf@mundaneum.com>

Hello

Here is a simple solution, have a menu like:

--8<---------------cut here---------------start------------->8---
   <div id="navigation">
   <h2>Navigation</h2>
    <p>
    <a href="index.html"            id="navigation-home">Home</a>
    <a href="curriculum-vitae.html" id="navigation-cv">CV</a>
    <a href="contact-me.html"       id="navigation-contact-me">Contact Me</a>
    </p>
   </div>
--8<---------------cut here---------------end--------------->8---

And simply have inside curriculum-vitae.org:
#+STYLE: a#navigation-cv { color: red }

inside contact-me.org:
#+STYLE: a#navigation-contact-me { color: red }

etc

Setting the correct style can also be automated with suitable
Javascript.

- Taru Karttunen

  reply	other threads:[~2009-03-23 13:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-18 16:04 Fully featured Web publishing Sébastien Vauban
2009-03-18 16:57 ` Sebastian Rose
2009-03-18 21:20   ` Sébastien Vauban
2009-03-18 22:38     ` Sebastian Rose
2009-03-18 22:56       ` Rasmus Pank Roulund
2009-03-18 23:19         ` Richard Riley
2009-03-19  7:46           ` Rasmus Pank Roulund
2009-03-19  8:28             ` Richard Riley
2009-03-19  9:43             ` Sébastien Vauban
2009-03-23 11:36               ` Sébastien Vauban
2009-03-23 13:50                 ` Taru Karttunen [this message]
2009-03-19 10:37           ` Sebastian Rose
2009-03-19 13:38             ` Richard Riley
2009-03-19 15:03               ` Sebastian Rose
2009-03-19 16:12               ` Matthew Lundin

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=20090323133130.GA12854@taruti.net \
    --to=taruti@taruti.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=zthjwsqqafhv@spammotel.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).