 (defvar org-attach-store-link-p)
 (defvar org-clock-start-time)
 (defvar whitespace-style)
+
+(defvar pjones:org-publish-directory
+  (expand-file-name "~/public/")
+  "Directory where published files are stored.")
 
 (defun pjones:org-parse-effort-tag (tag)
   "Convert an effort TAG to a number of seconds."

      linkcolor=blue,
      urlcolor=blue\n}\n")

 '(org-publish-project-alist
   '(("gtd"
      :base-directory "~/notes/gtd/"
      :base-extension "org"
      :recursive t
      :exclude "archive\\.org$"
      :publishing-function org-html-publish-to-html
      :publishing-directory "~/public/gtd/"
      :section-numbers t
      :with-broken-links t
      :with-toc 2

      :base-directory "~/notes/attachments/"
      :base-extension 'any
      :recursive t
      :publishing-directory ,(concat pjones:org-publish-directory "attachments/")
      :publishing-function org-publish-attachment)
     ("notes"
      :components ("wiki" "gtd" "attachments")))))
