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 %}