Answer the question
In order to leave comments, you need to log in
Jekyll + blog on ruby on rails how to do it?
Hello. The goal is to make a website (in the main directory) + a blog ( http://.../blog). The simplest blog has already been written. Now I choose what to use for the site. Use jekyll or do without it and write in ruby.
How will it be more convenient to manage and look prettier in terms of code and structure?
Answer the question
In order to leave comments, you need to log in
I would take middleman ( https://middlemanapp.com/ ). By comparison, Jekyll is extremely inflexible and complex for such a simple tool.
If the site rarely changes, you need simplicity and static pages are enough, then you can use middleman.
I would do this:
Rails.application.routes.draw do
scope :blog do
root 'main#index'
devise_for :users
resources :post
# ваш оставшийся код
end
end
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question