Code ▸ Projects ▸ webint-posts ▸ Releases ▸ 0.0.23 ▸ Files ▸ webint_posts ▸ templates ▸ render_dict.html 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 $def with (obj) $def render_dict(obj): <dl> $for prop, values in sorted(obj.items()): <dt>$prop</dt> <dd><ul> $for value in values: <li> $if isinstance(value, dict): $:render_dict(value) $else: $value </li> </ul></dd> </dl> $:render_dict(obj)