为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是一个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的散列
算法 | 散列摘要 | |
---|---|---|
SHA256 | 7cf52a73f8434e6f3ceb3719e79ba7aaf7964351821c4e77914ee2dd1cbc5f57 |
|
MD5 | 370e5ae3d7bdbbeaf632046d95db869e |
|
BLAKE2b-256 | 368f5d8f45152a06bd1ec8973e0a8f40118c9da08e9ac37f045a9411e8b2c2e2 |