{% init note_types = xutils.call("page.list_note_types") %} {% init show_note_types = True %} {% init show_note_types_title = False %} {% if show_note_types %}
{% if show_note_types_title %}
笔记类型
{% end %} {% for item in note_types %} {% if hasattr(item, "hide") and item.hide %} {% continue %} {% end %} {{item.name}}
{{item.size}}
{% end %}
{% end %}