krzysztofair/blog 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

  1. Add new post information in blog/blog.yaml configuration file under posts key. See sample data you can use in this file.
  2. Add new file under blog directory named slug.md, where slug is the same as in blog.yaml.
  3. git add and git push- and you're ready!

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-07-28