The following code used to include the sitemap and a search box in my published index.html page:
index.org
#+SETUPFILE: ~/elisp/org-templates/level-0.org
#+TITLE: Wiki
#+HTML: <div class="container"><div class="span-4">
#+INCLUDE sitemap-generated.org
#+HTML: </div><div class="span-16">
#+INCLUDE search.org
. . .
default.el
(require 'org-publish)
(setq org-publish-project-alist
'(
("wiki-notes"
:base-directory "~/git/org-mode/wiki"
:base-extension: "org"
:publishing-directory "/ssh:[my site]:/usr/local/share/wiki/"
:recursive t
:publishing-function org-publish-org-to-html
:headline-levels 4
:auto-preamble t
:table-of-contents nil
:auto-sitemap t
:sitemap-filename "sitemap-generated.org"
:section-numbers nil
)
("wiki-static"
:base-directory "~/git/org-mode/wiki/"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "/ssh:[my site]/usr/local/share/wiki/"
:recursive t
:publishing-function org-publish-attachment
)
("wiki" :components ("wiki-notes" "wiki-static"))
))
Now they do not appear anymore. Any suggestions, please?
Thanks,
Bill Day
--
Bill Day
williamson.day@gmail.com