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