top | item 39355166

(no title)

hschne | 2 years ago

I'm currently facing the same problem - adding a blog to a Rails app.

I thought Sitepress looks interesting, as its supposed to integrate with Rails. Have you given that one a try?

https://sitepress.cc/

discuss

order

dewey|2 years ago

I haven't seen that one yet but it looks good and kinda what I was looking for. Thanks for sharing!

I expected there to be many solutions for this problem but wasn't able to find a simple one.

In the end I just generated a simple "post" model and have some ugly admin interface that allows me to paste some markdown into a small box and publish it. Then I'm just using some gems for RSS feed / sitemap handling.

nicbou|2 years ago

If you natively work with Markdown, consider the static site generation approach. It also means that your content is also source-controlled.

Basically, just convert your markdown to HTML, and dump that into your existing templates.