summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-03-15 15:11:36 +0530
committerArun Isaac2022-03-16 16:21:25 +0530
commit65b7db97267caf53bff224d179dbab63f3cc0e3b (patch)
treef02eeec910eeaa12fad6c9e7d05f818a1cbf7091
parenta7b9dcbe3c30da701c4c47f570f3203c8ed66525 (diff)
downloadgn-gemtext-65b7db97267caf53bff224d179dbab63f3cc0e3b.tar.gz
Replace tissue script with declarative configuration.
* build-web.scm: Delete file. * tissue.scm: New file.
-rw-r--r--build-web.scm14
-rw-r--r--tissue.scm5
2 files changed, 5 insertions, 14 deletions
diff --git a/build-web.scm b/build-web.scm
deleted file mode 100644
index c27a25f..0000000
--- a/build-web.scm
+++ /dev/null
@@ -1,14 +0,0 @@
-(import (rnrs programs)
- (ice-9 match)
- (skribilo engine)
- (tissue web))
-
-(let ((html-engine (find-engine 'html)))
- (engine-custom-set! html-engine 'css "/style.css")
- (match (command-line)
- ((_ output-directory)
- (build-website output-directory
- #:title "GeneNetwork issue tracker"
- #:tags-path "/tags"))
- (_
- (error "Invalid command-line usage"))))
diff --git a/tissue.scm b/tissue.scm
new file mode 100644
index 0000000..e8ebc65
--- /dev/null
+++ b/tissue.scm
@@ -0,0 +1,5 @@
+(import (tissue tissue))
+
+(tissue-configuration
+ #:project "GeneNetwork"
+ #:web-css "/style.css")