diff options
author | Arun Isaac | 2022-04-14 16:22:23 +0530 |
---|---|---|
committer | Arun Isaac | 2022-04-14 16:22:23 +0530 |
commit | 85811ab5e6dfbfbcd772eba8a2219061db4c3991 (patch) | |
tree | e8045206725e9538625b56ce0ea28138323ae915 /bin | |
parent | 19bd6994abf5f13a474fdbaba233dd073ee8284e (diff) | |
download | tissue-85811ab5e6dfbfbcd772eba8a2219061db4c3991.tar.gz tissue-85811ab5e6dfbfbcd772eba8a2219061db4c3991.tar.lz tissue-85811ab5e6dfbfbcd772eba8a2219061db4c3991.zip |
tissue: Add #:issue-files configuration parameter.
* tissue/tissue.scm: Import (tissue git).
(<tissue-configuration>)[issue-files]: New field.
(gemtext-files-in-directory): New function.
(tissue-configuration): Add #:issue-files keyword argument.
* tissue/issue.scm (%issue-files): New public parameter.
(issues): Read issues only from files in %issue-files.
* bin/tissue (main): Parameterize %issue-files.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/tissue | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -403,7 +403,8 @@ To get usage information for one of these sub-commands, run (current-error-port)) (newline (current-error-port)) (exit #f))) - (parameterize ((%aliases (tissue-configuration-aliases (load-config)))) + (parameterize ((%issue-files (tissue-configuration-issue-files (load-config))) + (%aliases (tissue-configuration-aliases (load-config)))) (apply (match command ("news" tissue-news) ("list" tissue-list) |