Thats the nor
On 11/1/20,
krs...@gmail.com <
krs...@gmail.com> wrote:
>
> Hi!,
>
> I am using web-server/templates
> <
https://docs.racket-lang.org/web-server/templates.html?q=web%20server>.
> I am confused why this just displays the last line?:
>
> @when[#t]{
> <h1>first</h1>
> <h1>second</h1>
> }
That's normal "when" behavior
```
Welcome to Racket v7.8.0.5 [cs].
> (when #t "first" "second")
"second"
```
One fix is to put a list of text in the `when` body. He's how I'd write it:
```
#lang at-exp racket
@(define (when-logged-in . pc*)
(when #t
pc*))
@when-logged-in{
```