{% set navigation_bar = [ (url_for('admin.index'), 'index', 'Index'), (url_for('admin.count'), 'count', '统计'), ] -%}
Pelican manager
{% for href, id, caption in navigation_bar %}
{{ caption }}
{% endfor %}
管理
Server Setting
{% with messages = get_flashed_messages() %} {% if messages %}
{% for message in messages %}
×
{{ message }}
{% endfor %}
{% endif %} {% endwith %} {% block content %} {% endblock %}