aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlemurianmage <azureazure@disroot.org>2025-11-24 22:20:34 +0100
committerlemurianmage <azureazure@disroot.org>2025-11-24 22:20:34 +0100
commit5a58bff253ae63c930d48cb8bf02532833b71984 (patch)
treec5af8bc3949000e12d26fab437fdc206863b6731
downloadslimegirl.nexus-5a58bff253ae63c930d48cb8bf02532833b71984.tar.gz
website skeleton
-rw-r--r--.gitignore1
-rw-r--r--build-site.el22
-rwxr-xr-xbuild.sh2
-rw-r--r--src/index.org2
4 files changed, 27 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..87174b6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/public/
diff --git a/build-site.el b/build-site.el
new file mode 100644
index 0000000..c22b1b0
--- /dev/null
+++ b/build-site.el
@@ -0,0 +1,22 @@
+(require 'ox-publish)
+
+(setq org-html-validation-link nil
+ org-html-head-include-scripts nil
+ org-html-head-include-default-style nil)
+
+(setq org-publish-project-alist
+ (list
+ (list "lemur.tld"
+ :recursive t
+ :base-directory "./src"
+ :publishing-function 'org-html-publish-to-html
+ :publishing-directory "./public"
+ :with-author nil
+ :with-creator t
+ :with-toc nil
+ :section-numbers nil
+ :time-stamp-file nil)))
+
+(org-publish-all t)
+
+(message "Build done!")
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..c4467b9
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+emacs -Q --script build-site.el
diff --git a/src/index.org b/src/index.org
new file mode 100644
index 0000000..7d2be07
--- /dev/null
+++ b/src/index.org
@@ -0,0 +1,2 @@
+* this is a test
+** hi hello