diff --git a/publish.el b/publish.el index 17d71c4..0f89975 100644 --- a/publish.el +++ b/publish.el @@ -73,12 +73,12 @@ (if (equal "rss.org" (file-name-nondirectory filename)) (org-rss-publish-to-rss plist filename dir))) -(defun jj/html-preamble () "
") +(defvar jj/html-preamble "") (setq org-html-htmlize-output-type 'css) (setq org-html-postamble 'create-webring-html) (setq org-publish-project-alist - '( + `( ("org-core" :base-directory "~/website/" :base-extension "org" @@ -89,7 +89,7 @@ :headline-levels 4 :section-numbers nil :html-head "" - :html-preamble jj/html-preamble) + :html-preamble ,jj/html-preamble) ("org-static-website" :base-directory "~/website/" :base-extension "txt\\|css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"