diff --git a/files/templates/userpage.html b/files/templates/userpage.html
index 2b164662e..3462723ef 100644
--- a/files/templates/userpage.html
+++ b/files/templates/userpage.html
@@ -5,9 +5,9 @@
{% block title %}
-{% if u and u.profilecss and (u.admin_level or not (v and v.admin_level)) %}
-
-{% endif %}
+
{{u.username}}'s profile - {{'SITE_NAME' | app_config}}
{% if u.is_private %}
@@ -33,74 +33,6 @@
{% block desktopUserBanner %}
-{% if v %}
-
-{% endif %}
-
-{% if u.song %}
-
-{% endif %}
-
@@ -776,14 +708,83 @@
object-fit: cover !important;
}
+{% endblock %}
-
+{% block modals %}
{% if v %}
{% include "emoji_modal.html" %}
+ {% include "gif_modal.html" %}
+{% endif %}
+{% endblock %}
+
+{% block scripts %}
+{% if v %}
+
+{% endif %}
+
+{% if u.song %}
+
{% endif %}
-{% endblock %}
-
-{% block GIFpicker %}
{% endblock %}
\ No newline at end of file