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!")))))
(render-ok
(generic-base-tmpl
'(p "Hi there!"))))
(define (inbox req)
'TODO)
......@@ -97,6 +99,9 @@
"Golem")
" 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"))
,@content))
......
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