I have a client that needs a white container box to go behind the content on every page of their django website except on the homepage. I'm new to django and so I don't know of any way to do this.
I know that on Wordpress there is an if statement that can do something along the lines of what I'm looking for: ?php is_front_page(); ?
Is there anything in django that can do something similar? I just need a way to add a css class to an element and then exclude that styling from the homepage of the website.
Thanks!
Aucun commentaire:
Enregistrer un commentaire