aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2024-03-29-org-blog.org
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-03-29 01:30:23 -0500
committerChristian Cleberg <hello@cleberg.net>2024-03-29 01:30:23 -0500
commit41bd0ad58e44244fe67cb36e066d4bb68738516f (patch)
tree205e844650144648e58700df2b632c89298904d4 /content/blog/2024-03-29-org-blog.org
parent797a1404213173791a5f4126a77ad383ceb00064 (diff)
downloadcleberg.net-41bd0ad58e44244fe67cb36e066d4bb68738516f.tar.gz
cleberg.net-41bd0ad58e44244fe67cb36e066d4bb68738516f.tar.bz2
cleberg.net-41bd0ad58e44244fe67cb36e066d4bb68738516f.zip
massive re-write from org-publish to weblorg
Diffstat (limited to 'content/blog/2024-03-29-org-blog.org')
-rw-r--r--content/blog/2024-03-29-org-blog.org43
1 files changed, 43 insertions, 0 deletions
diff --git a/content/blog/2024-03-29-org-blog.org b/content/blog/2024-03-29-org-blog.org
new file mode 100644
index 0000000..b68ded2
--- /dev/null
+++ b/content/blog/2024-03-29-org-blog.org
@@ -0,0 +1,43 @@
+#+title: Blogging in Org-Mode
+#+date: 2024-03-29
+#+description: A guide to blogging with org-mode, no third-party tools required.
+#+filetags: :dev:
+#+draft: t
+#+slug: org-blog
+
+Refer to the post I wrote about [[/blog/doom-emacs-org-mode.html][Doom Emacs & Org-Mode]] for more information about
+my base Emacs configuration.
+
+* TODO Weblorg
+
+[[https://github.com/emacs-love/weblorg][Weblorg]] is a static site generator for [[https://orgmode.org/][org-mode]], built for use within [[https://www.gnu.org/software/emacs/][Emacs]].
+
+** Installation
+
+macOS, use Doom's package installation process, link proper files in =publish.el=
+
+** Configuration
+
+* Project
+
+** TODO Structure
+
+** TODO Configuration
+
+** TODO Build & Deploy
+
+#+begin_src sh
+touch build.sh && chmod +x build.sh && nano build.sh
+#+end_src
+
+#+begin_src sh
+rm -rf .build/* && \
+ENV=prod emacs --script publish.el && \
+scp -r .build/* ubuntu:/var/www/cleberg.net/
+#+end_src
+
+#+begin_src sh
+> time ./build.sh
+
+./build.sh 35.46s user 0.59s system 85% cpu 41.965 total
+#+end_src