summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tissue12
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/tissue b/bin/tissue
index 2d05ba9..3e92f16 100755
--- a/bin/tissue
+++ b/bin/tissue
@@ -365,11 +365,13 @@ Export the repository as a website to OUTPUT-DIRECTORY.
"
(command-line-program)))
((output-directory)
- (let ((config (load-config)))
- (build-website output-directory
- #:title (tissue-configuration-project config)
- #:css (tissue-configuration-web-css config)
- #:tags-path (tissue-configuration-web-tags-path config))))))
+ (parameterize ((%project-name (tissue-configuration-project (load-config)))
+ (%tags-path (tissue-configuration-web-tags-path
+ (load-config))))
+ (build-website (git-top-level)
+ output-directory
+ (tissue-configuration-web-css (load-config))
+ (tissue-configuration-web-files (load-config)))))))
(define (print-usage)
(format #t "Usage: ~a COMMAND [OPTIONS] [ARGS]