-
Notifications
You must be signed in to change notification settings - Fork 194
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
Bug - Views after being copied should append blog directory to layouts #294
Comments
I don't understand what you mean here, can you give me an example please? |
Sorry, let me explain more. So, one thing that happens after you run the rake task to get views copied over to your Rails application is that the render statements default to the original gem views. This can be confusing.
The disqus, guage_analytics, etc are all from the gem but my sidebar is from my override. It would be nice if it just defaulted all items when you copy over the views to the newly copied views instead of defaulting to the gem. The paths can be confusing. |
Ah, that's how Rails works. Maybe it could be worth adding a note in the README or somewhere about that, though? Thoughts? |
Right, it's how Rails works for the rendering but the Rake task should be able to just modify the html as it's copied over for you - no? |
Yeah, the generator should def be fixed or tell you to copy them over. |
Should be a simple patch at least. |
PR welcome :-) On Fri, Nov 11, 2016, 11:39 AM Ben Nelson [email protected] wrote:
|
By default it can be confusing that all the views still reference all the original monologue gem views (at monologue) but your blog gets generated on a similar file system setup and it can take a couple seconds to realize 'Oh, I need to change all these URLs to reference my new filesystem or itll not reflect any changes.'
The text was updated successfully, but these errors were encountered: