Skip to content

Commit

Permalink
Merge branch sigeya:mt_comment_hack into jekyll:shigeya-mt_comment_hack
Browse files Browse the repository at this point in the history
Merges #66. Closes #66
  • Loading branch information
parkr committed Dec 26, 2013
2 parents c21b4e9 + ffa38f1 commit f1fe46d
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions docs/mt.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,25 @@ $ ruby -rubygems -e 'require "jekyll-import";
"dbname" => "name",
"user" => "myuser",
"password" => "mypassword",
"host" => "myhost"
"host" => "myhost",
"comments" => true
})'
{% endhighlight %}

Posts will be generated and placed in `_posts` directory.

The only required fields are `dbname` and `user`. `password` defaults to `""`
and `host` defaults to `"localhost"`.
and `host` defaults to `"localhost"`.

`comments`, which defaults to false, control the generation of
comment. If `comments` set to true, posts will be generated and placed
in `_comments` directory.


All of the posts and comments will include `post_id` in YAML front
matter to link a post and its comments.

To include imported comments as part of a post, use the yet to merge
[fork of mt-static-comments](https://github.com/shigeya/jekyll-static-comments/tree/mt_static_comments)
to include statically generate comments in your post. Fork and provide
feedback if necessary.

0 comments on commit f1fe46d

Please sign in to comment.