krzysztofair/blog
最新稳定版本:1.0.0
Composer 安装命令:
composer require krzysztofair/blog
包简介
Flat file blog
README 文档
README
If you can't find something that suits your needs - do it yourself
I was looking for simple and semi-lightweight blogging system with Markdown and Yaml files only. However existing ones was overloaded with plugins and functionality. So this is what I came out with.
Requirements
Get the latest PHP and composer to install dependencies.
Installation
You have two options:
composer create-project krzysztofair/blog --prefer-dist
or simply clone this repo, cd into it and install via composer:
composer install
Make sure the cache folder has 755 or 777 chmods
sudo chmod -R 777 cache
Your virtual host should point to public directory.
Customization
You can edit application views to customize the template. Put your assets into public/assets directory.
Writing posts
There are three steps for writing a new post.
- Add new post information in blog/blog.yaml configuration file under posts key. See sample data you can use in this file.
- Add new file under blog directory named slug.md, where slug is the same as in blog.yaml.
git addandgit push- and you're ready!
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2015-07-28