diff --git a/_sakura/templates/misaki/main/profile.tpl b/_sakura/templates/misaki/main/profile.tpl index 64aa1b9..e500e98 100755 --- a/_sakura/templates/misaki/main/profile.tpl +++ b/_sakura/templates/misaki/main/profile.tpl @@ -4,180 +4,178 @@ {% set noUserpage = profile.userPage|length < 1 %} -{% set profileView = noUserpage and profileView == 'index' ? 'comments' : profileView %} +{% set profileView = profileHidden ? 'hidden' : (noUserpage and profileView == 'index' ? 'comments' : profileView) %} {% block title %}{% if profileHidden %}User not found!{% else %}Profile of {{ profile.data.username }}{% endif %}{% endblock %} +{% block css %} + +{% endblock %} + {% block content %} - {% if profileHidden %} -