一个干净的最小 gem 来添加一个简单的博客到现有的应用程序? [英] A clean minimal gem to add a simple blog to existing app?

查看:12
本文介绍了一个干净的最小 gem 来添加一个简单的博客到现有的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我现有的应用程序中创建一个博客,但它不必很花哨,一些类别和一种将纺织品目录转换为包括日期在内的博客文章的方法将适合,已经搜索过但没有任何花哨的出现.

I need an blog inside my existing app but it doesn't have to be fancy, some category's and an way to convert a directory of textiles to the blogposts including date would fit, already searched for this but nothing fancy came up.

关于将博客添加到现有 Rails 应用程序的好 gem 有什么建议吗?

any recommendations on a good gem to add blog to existing rails app?

推荐答案

我最终得到了一个非常简单的博客控制器,它使用 redcloth 保留格式,也使用相同的方法在我的应用程序中提供静态页面.

I finally ended up with a very simple blog controller that loads some page content from the database, using redcloth to preserve formatting, also use this same method for serving static pages in my app.

这篇关于一个干净的最小 gem 来添加一个简单的博客到现有的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆