{% init file = Storage(id = "0") %} {% init show_create = True %} {% init parent_id = 0 %} {% if type in CREATE_BTN_TEXT_DICT.keys() %} {{CREATE_BTN_TEXT_DICT[type]}} 笔记工具 {% elif type == "removed" %} {% include common/button/back_button.html %} {% elif file.id == "0" %} 新建项目 {% else %} {% end %} {% include note/component/script/create_script.html %}