diff --git a/files/templates/authforms.html b/files/templates/authforms.html
index c6d5fe924..4cd5bb0fc 100644
--- a/files/templates/authforms.html
+++ b/files/templates/authforms.html
@@ -15,7 +15,7 @@
{% if v %}
-
+
{% if v.agendaposter %}
-
+
{% endif %}
diff --git a/files/templates/default.html b/files/templates/default.html
index d1a74c728..8e7ce603c 100644
--- a/files/templates/default.html
+++ b/files/templates/default.html
@@ -8,7 +8,7 @@
{% if v %}
-
+
{% if v.agendaposter %}
-
+
{% endif %}
diff --git a/files/templates/log.html b/files/templates/log.html
index bb6442df5..307ab1d3a 100644
--- a/files/templates/log.html
+++ b/files/templates/log.html
@@ -6,7 +6,7 @@
{% block content %}
{% if v %}
-
+
{% if v.agendaposter %}
-
+
{% endif %}
diff --git a/files/templates/login.html b/files/templates/login.html
index 9cc95ffd5..228cb37ad 100644
--- a/files/templates/login.html
+++ b/files/templates/login.html
@@ -19,7 +19,7 @@
-
+
diff --git a/files/templates/login_2fa.html b/files/templates/login_2fa.html
index b1afed99c..990b20287 100644
--- a/files/templates/login_2fa.html
+++ b/files/templates/login_2fa.html
@@ -14,7 +14,7 @@
2-Step Login - {{SITE_NAME}}
-
+
diff --git a/files/templates/settings.html b/files/templates/settings.html
index 7c0c505ed..b6c4123d3 100644
--- a/files/templates/settings.html
+++ b/files/templates/settings.html
@@ -34,7 +34,7 @@
-
+
{% if v.agendaposter %}
-
+
{% else %}
-
+
{% endif %}
diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html
index 28cfb05a3..ed01e7fc4 100644
--- a/files/templates/sign_up.html
+++ b/files/templates/sign_up.html
@@ -31,7 +31,7 @@
{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}Sign up - {{SITE_NAME}}{% endif %}
-
+
diff --git a/files/templates/sign_up_failed_ref.html b/files/templates/sign_up_failed_ref.html
index a00ca9a94..62692014b 100644
--- a/files/templates/sign_up_failed_ref.html
+++ b/files/templates/sign_up_failed_ref.html
@@ -32,7 +32,7 @@
{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}{{SITE_NAME}}{% endif %}
-
+
diff --git a/files/templates/submission.html b/files/templates/submission.html
index 0ab3badfc..6bf1044b6 100644
--- a/files/templates/submission.html
+++ b/files/templates/submission.html
@@ -498,9 +498,9 @@
{% if p.domain == "twitter.com" %}
{{p.embed_url | safe}}
{% if v and v.theme.split("_")[0] in ["light", "coffee", "4chan"] %}
-
+
{% else %}
-
+
{% endif %}
{% elif p.domain in ['youtu.be','youtube.com'] and p.embed_url and p.embed_url.startswith(':root{--primary:#{{v.themecolor}}}
-
+
{% if v.agendaposter %}
-
+
{% endif %}
{% endblock %}