跳转到主要内容

为django-blog-zinnia提供的基于Zurb Foundation的主题。

项目描述

Zinnia-theme-foundation
=======================

Zinnia-theme-foundation是一个Python包,提供了一个基于[Zurb Foundation 5](http://foundation.zurb.com)构建的主题,用于[django-blog-zinnia](https://github.com/Fantomas42/django-blog-zinnia)。受[zinnia-theme-boostrap](https://github.com/Fantomas42/zinnia-theme-bootstrap)启发。

开始使用
-------------

### 下载软件包

*Zinnia-theme-foundation*软件包需要*djang*和*djang*-blog-zinnia*。

您可以使用pip安装*zinnia-theme-foundation*:

```
pip install zinnia-theme-foundation
```

如果您想要开发版本:

```
pip install git+git://github.com/gustavi/zinnia-theme-foundation.git
```

### 在Django中添加主题

编辑您`settings.py`并添加*zinnia_foundation*到您的`INSTALLED_APP` **在** zinnia应用之前,以绕过Zinnia模板的加载

```python
INSTALLED_APPS = (
...
'zinnia_foundation', # 在"zinnia"应用之前
...
'zinnia',
)
```

如果您将包安装为egg格式,则需要使用`django.template.loaders.eggs.Loader`模板加载器。

在您的`settings.py`文件末尾

```python
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
'django.template.loaders.eggs.Loader',
)
```



```python
TEMPLATE_LOADERS += (
'django.template.loaders.eggs.Loader',
)
```

您的主题已准备好使用!

### 自定义设计

您可以[自定义Zinnia的外观和感觉](http://docs.django-blog-zinnia.com/en/latest/how-to/customize_look_and_feel.html)或使用Sass[更改Zurb Foundation设计](http://foundation.zurb.com/docs/using-sass.html)。

图标是[Foundation Icon Fonts 3](http://zurb.com/playground/foundation-icon-fonts-3)。

### 许可证

Zinnia-theme-foundation遵循[GNU GENERAL PUBLIC LICENSE版本3](https://gnu.ac.cn/licenses/gpl.txt)。

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分发

zinnia-theme-foundation-1.0.2.tar.gz (460.5 kB 查看散列)

上传时间

由以下组织支持