{%- if (request.path == "/user/google-sign-in" or request.path == "/user/sign-in") and config['USE_GOOGLE_LOGIN'] %}
{%- endif %}{{ 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 %}
{{ 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 %}