{% extends 'maple/base.html' %} {% from 'base/paginate.html' import paginate%} {% from 'base/paginate.html' import footer as p_footer %} {% import 'base/link.html' as link_base %} {% import 'base/panel.html' as panel_base %} {% from 'base/head.html' import breadcrumb %} {% block title -%} {%- set n = notice_count() -%} {%- if n -%} ({{ n }}) {%- endif -%} {{ title }} {{ Title.title }} - {{ _(Title.description) }} {%- endblock title %} {% block main %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category,message in messages %} {% if category == 'message' -%} {% set category = 'info' %} {%- endif %}
{% endfor %} {% endif %} {% endwith %} {% if g.user.is_authenticated %}
{% else %} {{ _('Register')}} {{ _('Login') }} {% endif %} {{ _('All Tags')}} {{ _('Userlist') }} {{ _('Notices') }} {%- set n = notice_count() -%} {%- if n -%} {{ n }} {%- endif -%} {% block content %} {% endblock %}
{% endblock %}