Can a Rails app and a Jekyll blog live together?

后端 未结 4 772
悲&欢浪女
悲&欢浪女 2021-01-30 11:35

I have a Rails app and I want to add a blog feature; my idea is to use Jekyll which is a great blog tool, I just need to figure out if it\'s possible to use http://my.app.com/bl

4条回答
  •  执笔经年
    2021-01-30 12:10

    I had the same problem a few weeks ago. If you really have to use Jekyll, I think the best solution is to use the already mentioned Bloggy gem.

    However, I wasn't satisfied with this solution, because you still have to duplicate or synchronize a lot of things like templates, routes, stylesheets, and so on. So I decided to implement my own simple Jekyll-like blog functionality in Rails.

    You can find my article describing the implementation here: Create a simple Jekyll-like blog in your Rails 4 app.

提交回复
热议问题