From 11f9f6207f9fc38b0a3a45fec6da58d861bfc3bf Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 2 Jan 2022 16:23:08 +0200 Subject: [PATCH] dfs --- files/templates/default.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/files/templates/default.html b/files/templates/default.html index 89c9e80df..8f7207e0c 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -273,8 +273,13 @@ {% if request.path in ('/', '/logged_out', '/logged_out/') %} - {% block sidebar %} + {% if request.host == 'pcmemes.net' %} + {% set template = "sidebar_PCM.html" %} + {% else %} {% set template = "sidebar_" + environ.get("SITE_NAME") + ".html" %} + {% endif %} + + {% block sidebar %} {% include template %} {% endblock %} {% endif %}