publish images separately

This commit is contained in:
Jacob Janzen 2024-08-07 23:02:03 -05:00
parent eaabe5b247
commit 6ecd68bafe

View file

@ -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)