Hi!
I was playing around with the idea of having a discord server widget or a Iframe in a category with a css class of
Test
And the way i did this is kind off messy. I did it by writing a simple script in javascript checking for the class page-Test and loading the javascript in the base like so
if (document.hetElementsByClassName("page-Test")[0]) {
document.body.innerHTML += '<p>Test</p>';
};
And just loading it in like so
<script stc="{% static 'misago/js/custom.js' %}"></script>
But this is really inconvenient and messy and not really what i'm looking for so any thoughts?