Dear all,
Another fanatical Org-mode convert new to the list. Following the
'advice' of [1] I am attempting to generate my personal website using
Org publishing, but I'm running up against a pretty weird bug when I try
to export inline images. The code gets rendered so that the HTML
appears in the browser literally; hitting view-source, instead of
Org seems to be outputting
<img src="img/avi.gif" alt="img/avi.gif" />
which obviously doesn't appear as an image.
The code in the org file is just [[file:img/avi.gif]].
Any idea why this might be? Publishing configuration follows.[2]
Excited about what I can do with Org publishing; thanks in advance for
any assistance.
S
[1] http://mph.puddingbowl.org/2010/02/org-mode-in-your-pocket-is-a-gnu-shaped-devil/
[2] From my Org init file. Sitemap is published seperately so that I can
apply body-only so that it can be included with SSI. This works very
well.
===
(require 'org-publish)
(setq org-publish-project-alist
'(
("org-notes"
:base-directory "~/tmp/org-html-export/"
:base-extension "org"
:publishing-directory "/srv/http/v7g"
:recursive t
:publishing-function org-publish-org-to-html
:headline-levels 4 ; Just the default for this project.
; :auto-preamble t
:auto-sitemap t ; Generate sitemap.org automagically...
:sitemap-filename "sitemap.org" ; ... call it sitemap.org (it's the default)...
:sitemap-title "Sitemap" ; ... with title 'Sitemap'.
:sitemap-style 'tree
:sitemap-sort-folders 'last
:style "