Skip to content
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

Use 2 different layout for blog and posts #210

Open
NguyenTranQuang opened this issue Jan 30, 2018 · 0 comments
Open

Use 2 different layout for blog and posts #210

NguyenTranQuang opened this issue Jan 30, 2018 · 0 comments

Comments

@NguyenTranQuang
Copy link

NguyenTranQuang commented Jan 30, 2018

Hi All!
I have a website https://www.rakuna.co/ and now I want to apply google AMP for my all posts. We using storytime and running a layout call "application.html.erb", now I have to create a new layout for AMP call "rails_amp_application.amp.erb" and I will apply storytime's layout to "rails_amp_application.amp.erb". But the problem is I just want only posts using "rails_amp_application.amp.erb" layout, and the blog still using "application.html.erb" layout. How can I do that ? Thanks a lot !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant