aboutsummaryrefslogtreecommitdiff
path: root/publish.el
diff options
context:
space:
mode:
Diffstat (limited to 'publish.el')
-rw-r--r--publish.el12
1 files changed, 9 insertions, 3 deletions
diff --git a/publish.el b/publish.el
index 0595c13..1a42686 100644
--- a/publish.el
+++ b/publish.el
@@ -86,7 +86,7 @@
:section-numbers nil
:html-head "<link rel='stylesheet' href='/css/stylesheet.css' type='text/css'/>"
:html-preamble "<div class='topnav'><a href='/'>Home</a><a href='/projects.html'>Projects</a><a href='/blog'>Blog</a><a href='/dotfiles/index.html'>Dotfiles</a><a href='/about.html'>About Me</a><a href='/rss.xml'>RSS</a></div>")
- ("org-static"
+ ("org-static-website"
:base-directory "~/website/"
:base-extension "txt\\|css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/public_html"
@@ -130,7 +130,7 @@
:sitemap-format-entry format-posts-rss-feed-entry)
("org-config"
:base-directory "~/.dotfiles/"
- :base-extension "(org\\|jpg\\|png)"
+ :base-extension "org"
:html-head "<link rel='stylesheet' href='/css/stylesheet.css' type='text/css'/>"
:html-preamble "<div class='topnav'><a href='/'>Home</a><a href='/projects.html'>Projects</a><a href='/blog'>Blog</a><a href='/dotfiles/index.html'>Dotfiles</a><a href='/about.html'>About Me</a><a href='/rss.xml'>RSS</a></div>"
:html-wrap-src-lines t
@@ -141,5 +141,11 @@
:publishing-function org-html-publish-to-html
:headline-levels 4
:auto-preamble t)
- ("org" :components ("org-core" "org-static" "org-config" "org-blog" "org-rss"))))
+ ("org-static-config"
+ :base-directory "~/.dotfiles/"
+ :base-extension "txt\\|css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
+ :publishing-directory "~/public_html/dotfiles"
+ :recursive t
+ :publishing-function org-publish-attachment)
+ ("org" :components ("org-core" "org-static-website" "org-config" "org-blog" "org-rss" "org-static-config"))))
(org-publish-all t)