Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
123456789101112131415 |
- (module build (build-posts build-post)
- (import scheme (chicken io))
-
- (import config paths)
-
- (define (build-post config post)
- (let* ([path (car post)]
- [content (cdr post)]
- [absolute-path (absolute-build-path config path)])
- (call-with-output-file
- absolute-path
- (lambda (port) (write-string content #f port)))))
-
- (define (build-posts config posts)
- (map (lambda (post) (build-post config post)) posts)))
|