summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tissue/tissue.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/tissue/tissue.scm b/tissue/tissue.scm
index a90414f..c1add7a 100644
--- a/tissue/tissue.scm
+++ b/tissue/tissue.scm
@@ -21,20 +21,26 @@
#:export (tissue-configuration
tissue-configuration?
tissue-configuration-project
+ tissue-configuration-aliases
tissue-configuration-web-css
tissue-configuration-web-tags-path))
(define-record-type <tissue-configuration>
- (make-tissue-configuration project web-css web-tags-path)
+ (make-tissue-configuration project aliases web-css web-tags-path)
tissue-configuration?
(project tissue-configuration-project)
+ (aliases tissue-configuration-aliases)
(web-css tissue-configuration-web-css)
(web-tags-path tissue-configuration-web-tags-path))
-(define* (tissue-configuration #:key project web-css (web-tags-path "/tags"))
+(define* (tissue-configuration #:key project (aliases '()) web-css (web-tags-path "/tags"))
"PROJECT is the name of the project. It is used in the title of the
generated web pages, among other places.
+ALIASES is a list of aliases used to refer to authors in the
+repository. Each element is in turn a list of aliases an author goes
+by, the first of which is the canonical name of that author.
+
WEB-CSS is the path to a CSS stylesheet. It is relative to the
document root and must begin with a /. If it is #f, no stylesheet is
used in the generated web pages.
@@ -42,4 +48,4 @@ used in the generated web pages.
WEB-TAGS-PATH is the path relative to the document root where the
per-tag issue listings are put. It must begin with a /. If it is #f,
per-tag issue listings are not generated."
- (make-tissue-configuration project web-css web-tags-path))
+ (make-tissue-configuration project aliases web-css web-tags-path))