HTML Template overide

  • 22 Mar '20


I've been experimenting with django for the past few months, and I happened to stumble upon spirit. I started to play around with it, but when I tried to change the header and footer text, nothing happened. I then looked in most of the CSS files to see if there was a text overide of some sort, but I couldn't find anything. Could you please tell me how to change the text of the header and footer?

Thanks, Morgan.

Esteban C Borsani
  • 1
  • 22 Mar '20

The header text can be changed in the admin section, your user must be an admin to access it, the URL suffix is /st/admin/config/. If you want to override the HTML, the files are: templates/spirit/_footer.html and templates/spirit/_header.html, you can override them the regular Django way.