aboutsummaryrefslogtreecommitdiff
path: root/testTheThing/publish.el
diff options
context:
space:
mode:
authornathansmith <nathansmith@posteo.com>2025-05-22 12:11:10 -0600
committernathansmith <nathansmith@posteo.com>2025-05-22 12:11:10 -0600
commitd194694f31002068868a378d121ed0e2db01c378 (patch)
tree295a67261fef4ebd02e29c36dd3e255492cffdfa /testTheThing/publish.el
parent8176a8aac5d490562200eca0adb6efe5cc95e61a (diff)
Messy folder
Diffstat (limited to 'testTheThing/publish.el')
-rw-r--r--testTheThing/publish.el36
1 files changed, 36 insertions, 0 deletions
diff --git a/testTheThing/publish.el b/testTheThing/publish.el
new file mode 100644
index 0000000..d9d8ad7
--- /dev/null
+++ b/testTheThing/publish.el
@@ -0,0 +1,36 @@
+(add-to-list 'load-path "./")
+(require 'ox-publish)
+(require 'shittyweb-html)
+
+(setq org-publish-project-alist
+ '(
+ ("org" :components ("org-notes" "org-static"))
+ ("org-notes"
+ :base-directory "org/"
+ :base-extension "org"
+ :publishing-directory "xhtml/"
+ :recursive t
+ :publishing-function shittyweb-publish-to-html
+ :headline-levels 4
+ :auto-preamble t
+ :with-author nil
+ :with-creator t
+ :with-toc t
+ :section-numbers t
+ :time-stamp-file nil
+ )
+ ("org-static"
+ :base-directory "org/"
+ :base-extension "css\\|html\\|py\\|png\\|jpg\\|gif\\|cgi\\|rss"
+ :publishing-directory "xhtml/"
+ :recursive t
+ :publishing-function org-publish-attachment
+ ))
+ org-html-extension "xhtml"
+ org-html-validation-link nil
+ org-html-head-include-scripts nil
+ org-html-head-include-default-style nil
+ org-html-home/up-format "<a href=\"%sindex.html\">\
+<img src=\"%simages/back_home.png\" alt=\"Back to home page\" /></a>")
+(org-publish-all t)
+