首页已经分页了

可以把首页拖到最下面看看。

目前默认每页 10 篇,暂时还没有设置入口。

侧边栏支持最新评论啦

默认参数如下:

  • 按评论时间倒序排列
  • 最多取 10 条
  • 每条评论内容截取 30 字符

测试 Markdown 支持

先说结论

现在用的这个 Markdown 还比较「凑合」。 已经改用 marked,明显这个好。

下面是示例

联系方式

电子邮箱 example@example.com

网址 http://migege.com

子曾经曰过

三人行,必有我师焉。择其善者而从之,其不善者而改之。

Go 语言的吉祥物

gopher

领导讲话一般都很有条理

  1. 各位XX,各位XX,大家下午好!
  2. 在这个阳光明媚的下午,我们欢聚一堂……
  3. ……致以衷心的感谢!

工资条表格

月份 姓名 基本工资 奖金 饭补 请假扣除 保险 公积金 个税 应发金额 实发金额
2016-01 张三 4000.00 500.00 300.00 0.00 -180.00 -500.00 -120.00 4000.00 4000.00

收回这句话,开启 Makuru 支持后,利用 jQuery 动态修改样式,表格效果总算可以了。

table 还不知道怎么弄,反正上面的样子是很难接受,看来得换一个库。

其它样式

删除线暂时还不知道怎么写,这行是歪的

删除

<!DOCTYPE html>
<html lang="en">
</html>
代码区块
不算华丽也还凑合的分割线

看见了吗

Markdown

Markdown

参考文档

Markdown 文档

MiLog 更新日志 02/04/2016

功能点

  • 支持自定义唯一的 post slug 生成用户友好、搜索引擎友好的永久链接
  • 引入 ErrorController 支持自定义 404 错误页面

MiLog 代码已托管至 GitHub

MiLog 项目地址:https://github.com/migege/milog

未完成的功能列表

  • Post 列表分页 ——已实现
  • 友情链接 ——已实现
  • 搜索 ——已实现
  • 注册
  • 超级管理员(可管理所有用户、文章、评论、Tag 及各种设置
  • 归档
  • 主题
  • 插件
  • pingback/traceback
  • RSS 输出 ——已实现
  • i18n
  • ...

Editing Post in a WYSIWYG Markdown Editor

Markdown

Type **Markdown** *here*.

What You See

Type Markdown here.

What You Get

Type Markdown here.

Tagging System is Reborn

A REBORN tagging system.

MiLog Performance Improved

Refactoring of all models and controllers will be done soon.

Those below are already done:

  • BaseController
  • OptionController
  • HomeController
  • PostController
  • TagController
  • OptionModel
  • PostModel
  • TagModel
  • ...

Tagging

It's possible to tag a post with one or more words now.

Bootstrap

Using Bootstrap 3 to simplify the CSS work.