{{ extra_meta }} {% if tab_title %}{{ tab_title }}{% else %}{{ config['APP_NAME'] }}{% endif %} {%- for key in config['SOCIAL'] %} {%- if key not in ('og', 'twitter', 'fb') %} {%- endif %} {%- endfor %} {%- if 'description' in config['SOCIAL'] %} {%- endif %} {%- if 'image' in config['SOCIAL'] %} {%- endif %} {%- if 'card' not in config['SOCIAL']['twitter'] %} {%- endif %} {%- for key in config['SOCIAL']['twitter'] %} {%- if key != 'title' %} {%- endif %} {%- endfor %} {%- if 'image' in config['SOCIAL']['og'] %} {%- for key in config['SOCIAL']['og'] %} {%- if key not in ('locale', 'url') %} {%- endif %} {%- endfor %} {%- if 'locale' in config['SOCIAL']['og'] %} {%- else %} {%- endif %} {%- if 'site_name' not in config['SOCIAL']['og'] %} {%- endif %} {%- if 'type' not in config['SOCIAL']['og'] %} {%- endif %} {%- endif %} {%- for key in config['SOCIAL']['fb'] %} {%- endfor %} {%- if config['USE_FAVICON'] %} {%- endif %} {%- if config['USE_APPLE_TOUCH_ICON'] %} {%- endif %} {%- if config['USE_FAVICON_MD'] %} {%- endif %} {%- if config['USE_FAVICON_SM'] %} {%- endif %} {%- if config['USE_SITE_WEBMANIFEST'] %} {%- endif %} {%- if config['USE_SAFARI_PINNED_TAB'] %} {%- endif %} {{ extra_css }}{{ config['GLOBAL_CSS']|safe }}
{%- block top %}{% endblock %} {%- block flash_messages %} {%- with messages = get_flashed_messages(with_categories=true) -%} {%- if messages %}
{%- for category, message in messages %} {%- if category=='error' %} {%- set category='danger' %} {%- endif %}
{{ message|safe }}
{%- endfor %}
{%- endif %} {%- endwith %} {%- endblock %} {%- block main %}{% endblock %} {%- block bottom %}{% endblock %}
{%- if footer_content %} {% endif %} {{ page_js }}{{ extra_js }}{{ config['GLOBAL_JS']|safe }}