-
-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you create a blog or docs with high_voltage? #309
Comments
I think you could get that working, but you need a way to make rails render markdown first. Here's one approach. |
I had something like this implemented and it worked perfectly. I can dump markdown files (with erb) in my pages folder without issues. Here are my steps:
Also DANGER, I am the only author, so I have erb available on all markdown files. You may want create a second file format like
|
I am looking for something like Jekyll, but directly embedded inside the Rails app.
The idea is to have a folder
blog
with all the blog posts. Each post would also have a front matter.Is there any way to iterate on the blog posts?
Ideally you would read each file like it was a row in a database, so that you have a author, category, date, etc. from the front matter for each post, then you can display the index of posts or a category or a specific post.
Can you do that with this gem? Do you already have a similar approach for that (blog, docs, etc.) or I need to build from scratch?
The text was updated successfully, but these errors were encountered: