Comments (4)
For now you can do it as you would normally do it. Just create a new folder template/spirit
at the root of your project and override whatever file you want.
Personally I would avoid making significant changes to the markup, since you may lose some functionality such as notifications that are handled by jQuery. But I guess you could adapt those as well, they are pretty simple scripts.
from spirit.
I'll give that a shot. Thanks!
from spirit.
Spirit will provide template-hooks in following releases, you may get away with that. You can try inserting your navbar just above the Spirit navbar (so, you would end up with 2 nabvars), it may look good. Also, try changing css rules, like the background color (modules/_colors.scss && recompile the stylesheets/styles.scss).
from spirit.
I ended up overriding the templates and essentially sending the Spirit templates that extended _base.html to my own base template. I then integrated Spirit's nav bar functionality into my own nav bar. It was a little time consuming and hacky, but results are good! Thanks for the help.
from spirit.
Related Issues (20)
- Method to add fields to Topic or Comment HOT 5
- URL preview HOT 3
- cannot change password when forget HOT 7
- Search function not work HOT 17
- Some tests misusing assertTrue for comparisons
- Security concern HOT 3
- Upgrade Django to the latest 3.2.14 security patch if you can; otherwise this is not usable anymore. HOT 3
- Upgrade to django 4 HOT 1
- spirit-project.com broken HOT 2
- How to make the site available only for logged in users? HOT 1
- Server error when USE_TZ = False HOT 7
- What is the easiest way to put multiple fields on a form on the same line? HOT 1
- Improve settings validations
- Have setting SPIRIT_AUTH_USER_MODEL (defaults to the AUTH_USER_MODEL) but can be overridden HOT 5
- Search always says: There are no search results. HOT 4
- Does every topic have to be subscribed to in order to get notified? HOT 1
- How do I embed a youtube video in a post? HOT 1
- Is it possible to include iframe element in a comment?
- Can you explain the "flags" feature? HOT 1
- Would it be better to index Comment rather than Topic? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spirit.