Commit 5211ee97 authored by Christopher Lemmer Webber's avatar Christopher Lemmer Webber

Add generic-base-tmpl

parent 72a4c8f4
......@@ -39,7 +39,9 @@
;;; =====
(define (homepage req)
(render-ok (base-tmpl (generic-content-tmpl '(p "Hi there!")))))
'(p "Hi there!"))))
(define (inbox req)
......@@ -97,6 +99,9 @@
" is released under the... Apache v2 license? Not sure yet"))))
(define (generic-base-tmpl . content)
(base-tmpl (apply generic-content-tmpl content)))
(define (generic-content-tmpl . content)
`(div (@ (class "generic-content-box"))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment