diff options
Diffstat (limited to 'lib/types.sld')
-rw-r--r-- | lib/types.sld | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/types.sld b/lib/types.sld index 791ff53..b7ce12c 100644 --- a/lib/types.sld +++ b/lib/types.sld | |||
@@ -1,11 +1,18 @@ | |||
1 | (define-library (boudin types) | 1 | (define-library (boudin types) |
2 | (import (scheme base) | 2 | (import (scheme base) |
3 | (scheme case-lambda) | 3 | (scheme case-lambda) |
4 | (scheme cxr) | ||
4 | (scheme file) | 5 | (scheme file) |
6 | (scheme write) | ||
5 | (boudin config) | 7 | (boudin config) |
6 | (boudin util) | 8 | (boudin util) |
9 | (srfi 1) | ||
10 | (srfi 152) | ||
7 | ;; non-portable bits | 11 | ;; non-portable bits |
12 | (chicken file) | ||
13 | (chicken file posix) | ||
8 | (chicken pathname) | 14 | (chicken pathname) |
15 | (chicken time posix) | ||
9 | (html-parser) | 16 | (html-parser) |
10 | ) | 17 | ) |
11 | 18 | ||
@@ -15,10 +22,18 @@ | |||
15 | page-path page-dest page-text page-sxml page-meta | 22 | page-path page-dest page-text page-sxml page-meta |
16 | set-page-dest! set-page-text! set-page-sxml! set-page-meta! | 23 | set-page-dest! set-page-text! set-page-sxml! set-page-meta! |
17 | extract-metadata page-ref page-set! | 24 | extract-metadata page-ref page-set! |
18 | page-url page-slug | 25 | page-url page-slug page-updated |
19 | read-page write-page | 26 | read-page write-page |
20 | ;; indeces | 27 | ;; indeces |
28 | make-index index? | ||
29 | index-dest index-template index-writer index-pages index-meta | ||
30 | set-index-dest! set-index-template! set-index-writer! set-index-pages! | ||
31 | set-index-meta! | ||
32 | index-ref index-set! index-push! | ||
33 | index-for-each | ||
34 | write-index | ||
21 | ;; static files | 35 | ;; static files |
36 | static-copy | ||
22 | ) | 37 | ) |
23 | 38 | ||
24 | (include "lib/types.sls")) | 39 | (include "lib/types.sls")) |