Your index.html should have raised an IndentationError.... at least that's
what happens to me.

try the following code, it works for me... i just removed blank lines after
the $if and $else statements


$def with (greeting)



<html>

    <head>

        <title>Gothons of Planet Percal #25</title>

    </head>

<body>



$if greeting:
    I just wanted to say <em style="color: green; font-size: 2em;">
    greeting</em>.

$else:
    <em>Hello</em>, world!



</body>

</html>


2011/7/9 Eva <[email protected]>

> I think the problem has to do with the render function.
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>
>


-- 
Federico Frenguelli

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to