mezzanine-themes | A collection of Django/Mezzanine templates
kandi X-RAY | mezzanine-themes Summary
kandi X-RAY | mezzanine-themes Summary
mezzanine themes === a collection of django/mezzanine templates. each of them are designed to override mezzanine’s default template. mezzanine_default and mezzanine_mobile are compilation of all the templates from mezzanine. this will be easier for non-python and non-django designers to work with the templates. inspired by pinax themes. usage --- it is recommended to place the themes as high as possible, to make sure all the app templates are overridden. creating your own theme --- quoted from pinax developers, 'pinax themes are just simple django apps'. actually, this applies to all django projects as well. a typical theme structure would look like this,. to override mezzanine_default templates, just copy the templates into the theme’s templates directory. to override django app templates, just copy the templates into the theme’s templates directory. this overiding structure also helps to organize static files as you don’t need duplicate javacripts
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Send a submit upload request
- Initialize an overlay
- Change a page
- Start the server
- Transition page selection
- Upload file upload request
- Slide an update function .
- Array helper functions
- Capture interrupting .
- Creates and returns an element for the given nodeName .
mezzanine-themes Key Features
mezzanine-themes Examples and Code Snippets
Community Discussions
Trending Discussions on mezzanine-themes
QUESTION
I'm building a bilingual site, which has both RTL and LRT content. Mezzanine comes with a twitter-bootstrap theme, which doesn't support RTL as well as zurb-foundation does. So I'm trying to create a new Mezzanine theme that would use foundation for sites.
I'm having trouble structuring my project in a way that django-compressor would understand, with minimal 3rd party dependencies.
The structure that I'd like to emulate is the one in mezzanine-themes. However, it is not setup to use SCSS. I've also installed django-compressor-toolkit to deal with SCSS.
The problem now is that I don't know how to structure the static files in the theme app to get compressor to find them.
My hunch is that I have to make compressor-toolkit find the foundation-sites
file in node_modules
, but I can't figure how to do that out from reading the docs.
I could put all of the foundation files in the same static folder, but then I lose the nice package management (along with other drawbacks).
Any recommendations?
Many thanks in advance.
Below is the error that compressor gives when it reaches the {% compress css %}
template tag.
ANSWER
Answered 2017-Nov-13 at 08:49Found it! I had to use --include-path
for the node-sass
module.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mezzanine-themes
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page