zinnia-theme-foundation

A theme with Zurb Foundation for django-blog-zinnia.


Keywords
django, blog, weblog, zinnia, theme, skin, foundation
License
GPL-2.0+
Install
pip install zinnia-theme-foundation==1.0

Documentation

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.