$def with (entries, id)

Blog

$for e in entries:

$e.title $if openid.status(): [edit]

$e.author

$e.date

$if id is None: $:mymarkdown(e.entry, 20) $else: $:markdown(e.entry)