diff --git a/build-org.el b/build-org.el new file mode 100644 index 0000000..1cc7d4c --- /dev/null +++ b/build-org.el @@ -0,0 +1,34 @@ +;; Load the publishing system +(require 'ox-publish) + +(setq org-publish-project-alist + '(("org-files" + :recursive t + :base-directory "./org" + :publishing-directory "./build/blog/" + :publishing-function org-html-publish-to-html + :body-only t + :with-author nil ;; Don't include author name + :with-creator nil ;; Include Emacs and Org versions in footer + :with-toc nil ;; Include a table of contents + :title "Joseph Ferano - Blog" + :with-title nil + :with-validation nil + :section-numbers nil ;; Don't include section numbers + :time-stamp-file nil) + ("static-files" + :base-directory "./content/" + :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|svg" + :publishing-directory "./public/" + :recursive t + :publishing-function org-publish-attachment) + ("site" :components ("org-files" "static-files")))) + +(setq org-html-validation-link nil + org-html-head-include-default-style nil) + ;; org-html-head "") + +;; (org-publish-project "site" t) +(org-publish-project "org-files" t) + +(message "Build complete!") diff --git a/org/2025-07-19-first-entry.org b/org/2025-07-19-first-entry.org new file mode 100644 index 0000000..ac8016a --- /dev/null +++ b/org/2025-07-19-first-entry.org @@ -0,0 +1,8 @@ +#+TITLE: First Post +#+AUTHOR: Joseph Ferano +#+DATE: <2025-07-19 Sat> +#+OPTIONS: + +This is my first blog post. What is the purpose of my blog. Well, I want to +discuss technical things, for sure. Richard Feynman said things that are cool. +Something about how writing is learning.