{%extends "web/base.html"%} {%block title%} {%if catalog%} {{catalog.title}} - {{book.name}} - {{site["name"]|upper}} {%else%} {{book.name}} - {{site["name"]|upper}} {%endif%} {%endblock title%} {%block metas%} {{super()}} {%endblock metas%} {%block styles%} {%if config.get("DEBUG")%} {%include "_common-css.html"%} {%else%} {%endif%} {{super()}} {%endblock styles%} {%block navbar%} {%endblock navbar%} {%block content%}
目录
{%if current_user.is_authenticated and current_user.id==book.user_id%} 编辑 {%endif%}

{{book.name}}

{%include "web/_catalog.html"%}
{%if catalog%}

{{catalog.title}}

{{catalog.publish_html|safe}}
{%if prev%} 上一页 {%endif%} {%if next%} 下一页 {%endif%}
{%endif%}
{%include "_footer.html"%}
{%if current_user.is_authenticated%} {%endif%} {%endblock content%} {%block scripts%} {%if config.get("DEBUG")%} {%include "_common-js.html"%} {%else%} {%endif%} {{super()}} {%endblock scripts%}