Merge branch 'master' into url_for_static_assets

This commit is contained in:
Khanh Ngo
2020-05-24 21:16:00 +07:00
committed by GitHub
3 changed files with 30 additions and 6 deletions

View File

@ -30,7 +30,7 @@
<body class="hold-transition skin-blue sidebar-mini {% if not SETTING.get('fullscreen_layout') %}layout-boxed{% endif %}">
{% if OFFLINE_MODE %}
{% set gravatar_url = "{{ url_for('static', filename='img/gravatar.png') }}" %}
{% else %}
{% elif current_user.email is defined %}
{% set gravatar_url = current_user.email|email_to_gravatar_url(size=80) %}
{% endif %}
<div class="wrapper">