(define (view:main-display request body)
(define one-entry
- '(div (@ (class "stream-entry"))
- (p "This is an entry!")
- (p "Let's try a few paragraphs")
- (p "okay?")))
+ '(div (@ (class "stream-entry"))
+ (p (b "<foo>") " Wow, it's so shiny!")))
(define body-tmpl
`((div (@ (id "stream-metabox"))
(div (@ (id "stream"))
- ,@(map (const one-entry) (iota 10))))
+ ,@(map (const one-entry) (iota 25))
+ (div (@ (class "stream-entry"))
+ (p (b "<bar>") " Last one!"))))
(div (@ (id "input-metabox"))
- (p "test test")
(input (@ (id "input"))))))
(define (main-tmpl)