rbnvrw / crispus
Crispus CMS是一个基于文件的轻量级内容管理系统
dev-master
2015-02-08 14:30 UTC
Requires
- php: >=5.4
- cebe/markdown: ~1.0.1
- kriswallsmith/assetic: dev-master
- natxet/cssmin: ~3.0
- patchwork/jsqueeze: ~2.0
- rbnvrw/phpthumb: dev-master
- twig/twig: ~1.18
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: *
This package is not auto-updated.
Last update: 2020-01-06 03:45:40 UTC
README
Crispus CMS是一个基于文件的轻量级内容管理系统。
安装
安装Crispus CMS非常简单:只需将其作为项目依赖项通过Composer添加
"require": {
"rbnvrw/crispus": "dev-master"
}
然后使用composer update
在vendor
目录中安装Crispus CMS。
使用
请参阅我的Crispus示例仓库,了解如何将Crispus CMS用于您的网站。
页面存储在pages
目录中,以目录形式存储。页面目录应包含一个包含页面属性的config.json
文件以及一个或多个与当前主题中使用的块相对应的Markdown文件,该主题通过Twig渲染。
全局配置设置存储在config/config.json
中的JSON格式。在此配置文件中,您还可以设置使用的主题。主题存储在themes
目录中,并使用Twig模板引擎。