Zinnia-theme-foundation is a python package providing a theme builded on Zurb Foundation 5 for django-blog-zinnia. Inspired by the zinnia-theme-boostrap.
The Zinnia-theme-foundation package required django and django-blog-zinnia.
You can install zinnia-theme-foundation with pip :
pip install zinnia-theme-foundation
If you want the dev version :
pip install git+git://github.com/django-blog-zinnia/zinnia-theme-foundation.git
Edit you settings.py
and add zinnia_foundation in your INSTALLED_APP
BEFORE the zinnia app to bypass the loading of the Zinnia's templates :
INSTALLED_APPS = (
...
'zinnia_foundation', # BEFORE the "zinnia" app
...
'zinnia',
)
You need to use the https://pypi.python.org/pypi/django-app-namespace-template-loader package for loading the templates.
At the end of your settings.py
:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'OPTIONS': {
'loaders': [
'app_namespace.Loader',
'django.template.loaders.app_directories.Loader',
],
'context_processors': [
'django.contrib.auth.context_processors.auth',
'django.template.context_processors.i18n',
'django.template.context_processors.request',
'django.contrib.messages.context_processors.messages',
'zinnia.context_processors.version',
]
}
}
]
Your theme is ready to use !
You can Customize Zinnia’s look and feel or change the Zurb Foundation design with Sass.
Icons are Foundation Icon Fonts 3.
Zinnia-theme-foundation is licensed under the GNU GENERAL PUBLIC LICENSE version 3.