4 ms·
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
by hschne 3y 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/ https://sitepress.cc/
- dewey 3y agoI 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 3y agoIf 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.