all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sébastien Brisard" <sebastien.brisard@m4x.org>
To: emacs-orgmode@gnu.org
Subject: org-html-h
Date: Mon, 26 Jan 2015 21:36:54 +0100	[thread overview]
Message-ID: <54C6A566.2020607@m4x.org> (raw)

Hello,
my blog (sbrisard.github.io) is entirely written with org-mode. Org-mode 
offers everything I need, except for one minor detail. It is very 
difficult to include the same CSS file in the html-head of several files 
located at various levels of the directory hierarchy.
I do not really like this trick 
http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html#sec-6. 
For the time being, I configured several projects (one for each level), 
see https://github.com/sbrisard/blog/blob/master/sb-blog.el. But I am 
not happy with this solution either.
I think that it would be great if org-html-head and org-html-head-extra 
behaved as org-html-preamble and org-html-postamble, which can be set to 
either a string, or a function. This offers great flexibility for the 
configuration of the pre/postamble (I use it to conditionnaly include 
DISQUS comments in the postamble).
Would it be possible to mimick the same behavior with org-html-head and 
org-html-head-extra? Or would this be too much work?

Thanks for your thoughts,
Sébastien

             reply	other threads:[~2015-01-26 20:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-26 20:36 Sébastien Brisard [this message]
2015-01-26 20:40 ` Binding org-html-head to a function? Sébastien Brisard
2015-01-26 20:50 ` org-html-h Rasmus

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=54C6A566.2020607@m4x.org \
    --to=sebastien.brisard@m4x.org \
    --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.