summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-10-28 17:23:23 +0000
committerChristopher Baines <mail@cbaines.net>2019-10-28 17:23:23 +0000
commita643f9a12779494ed35813b7906229728cf282e2 (patch)
tree4fe822383a7d2c30c62137f4e32c110c10cc00a7
downloadweekly-news-a643f9a12779494ed35813b7906229728cf282e2.tar
weekly-news-a643f9a12779494ed35813b7906229728cf282e2.tar.gz
Initial commit
-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..1320f90
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+site
diff --git a/haunt.scm b/haunt.scm
new file mode 100644
index 0000000..a945372
--- /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 "Built with Guile"
+ #:domain "example.com"
+ #:default-metadata
+ '((author . "Eva Luator")
+ (email . "eva@example.com"))
+ #:readers (list commonmark-reader)
+ #:builders (list (blog)
+ (atom-feed)
+ (atom-feeds-by-tag)
+ (static-directory "images")))
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!