diff options
author | Jacob Janzen <jjanzenn@proton.me> | 2024-08-07 23:02:03 -0500 |
---|---|---|
committer | Jacob Janzen <jjanzenn@proton.me> | 2024-08-07 23:02:03 -0500 |
commit | 6ecd68bafe2d21900f6c2865393412c544b893ac (patch) | |
tree | 42b5426972b8295f2f4ed7715c42f5afa204f3c8 /publish.el | |
parent | eaabe5b247dd3178d406bfc8c54fbd5942032802 (diff) |
publish images separately
Diffstat (limited to 'publish.el')
-rw-r--r-- | publish.el | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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) |