summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-10-23 23:18:38 +0800
committereltrac <hi@eltr.ac>2026-10-23 23:18:38 +0800
commitf706343afb3a132562101d205da49ad4a21f5849 (patch)
tree888803c76ebdf131b22d1d6a446d1a510ff5e855
start haunting
-rw-r--r--.gitignore1
-rw-r--r--haunt.scm17
-rw-r--r--posts/hello.md7
3 files changed, 25 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c9490a5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/site
diff --git a/haunt.scm b/haunt.scm
new file mode 100644
index 0000000..65eb760
--- /dev/null
+++ b/haunt.scm
@@ -0,0 +1,17 @@
+(use-modules (haunt asset)
+ (haunt builder blog)
+ (haunt builder atom)
+ ;(haunt builder assets)
+ (haunt reader commonmark)
+ (haunt site))
+
+(site #:title "Eltrac"
+ #:domain "eltr.ac"
+ #:default-metadata
+ '((author . "Eltrac")
+ (email . "hi@eltr.ac"))
+ #:readers (list commonmark-reader)
+ #:builders (list (blog)
+ ;(static-directory "images")
+ (atom-feed)
+ (atom-feeds-by-tag)))
diff --git a/posts/hello.md b/posts/hello.md
new file mode 100644
index 0000000..99805ac
--- /dev/null
+++ b/posts/hello.md
@@ -0,0 +1,7 @@
+title: First post!
+date: 2018-03-13 18:00
+tags: hello
+summary: hello!
+---
+
+Hello, world!