123456789101112131415161718 |
- (library (handlers index)
- (export index-handler)
- (import
- (except (rnrs base) let-values error)
- (only (guile) lambda* λ)
- (lib utils response-utils)
- (templates page-wrapper)
- (templates page home)))
- (define index-handler
- (lambda (request request-body)
- "A handler for a route."
- (create-html-response
- (page-wrapper-template request
- request-body
- (page-home-template request request-body)))))
|