Zinnia-theme-foundation is a python package providing a theme built on Zurb Foundation for django-blog-zinnia.
HTML CSS Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo_zinnia_foundation
zinnia_foundation
.gitignore
AUTHORS
CHANGELOG
LICENSE
MANIFEST.in
README.md
buildout.cfg
setup.py
versions.cfg

README.md

Zinnia-theme-foundation

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.

Getting Start

Download the package

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

Add the theme in django

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 !

Customize the design

You can Customize Zinnia’s look and feel or change the Zurb Foundation design with Sass.

Icons are Foundation Icon Fonts 3.

Licence

Zinnia-theme-foundation is licensed under the GNU GENERAL PUBLIC LICENSE version 3.