Publishing Configuration

Table of Contents

Publishing Configuration

(setq org-publish-project-alist
      `(
        ("wal.sh-static"
         :base-directory ,(expand-file-name "static" wal-sh/base)
         :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
         :publishing-directory ,(expand-file-name "static" wal-sh/local-output)
         :recursive t
         :publishing-function org-publish-attachment)
        ("wal.sh-org"
         :base-directory ,wal-sh/base
         :base-extension "org"
         :publishing-directory ,wal-sh/local-output
         :recursive t
         :publishing-function org-html-publish-to-html
         :headline-levels 4
         :section-numbers nil
         :with-toc t
         :html-preamble wal-sh/org-html-preamble
         :html-postamble wal-sh/org-html-postamble
         :html-head-include-default-style nil
         :html-head-include-scripts nil
         :html-head "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<link rel=\"stylesheet\" href=\"/static/default.css\" type=\"text/css\"/>
<script src=\"/static/default.js\" type=\"text/javascript\"></script>"
         :with-properties t
         :html-link-home "/"
         :html-link-up "./"
         :html-id-slugify-function wal-sh/slugify-id)
        ("wal.sh" :components ("wal.sh-static" "wal.sh-org"))))

Author: Jason Walsh

jwalsh@nexus

Last Updated: 2025-07-30 13:45:27

build: 2025-12-23 09:13 | sha: e32f33e