How add a custom layout and switch different layout for the content? #16878
Unanswered
gaojianzhuang
asked this question in
Q&A
Replies: 2 comments 5 replies
-
I don't think we have built-in alternates for the Layout shape, but you don't need those for such a scenario anyway. Check out the different Content alternates: https://docs.orchardcore.net/en/latest/reference/modules/Templates/#content-templates |
Beta Was this translation helpful? Give feedback.
2 replies
-
Why the Regarding your question, I have never seen such an alternate. Please elaborate of what you are trying to do |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes, we need to create different layouts for the different content.
For now, the theme only has one "Layout.liquid" file, if I create a new layout file "Layout-LeftBar.liquid", how to use it?
Beta Was this translation helpful? Give feedback.
All reactions