hi, i want to use different theme for pages. For example i want to use antimatter theme for main page. parallelism theme for galllery page, learn2 theme for lessons page and so on. how can i do it? is it possible active all themes under user/themes with doing the settings in system.yaml file under user/config. in system.yaml file there is defining:
home:
alias: ‘/home’
pages:
theme: antimatter
can i define system.yaml file like belove for do this?
home:
alias: ‘/home’
pages:
theme: antimatter
galley:
alias: ‘/gelley’
pages:
theme: parallelism
lessons:
alias: ‘/lessons’
pages:
theme: learn2
Archive
This is not currently possible. Grav only supports one theme per site.
Seems like you either need to Frankenstein a new theme using parts of those others, or have multiple installs of Grav, each running its own theme. The first option is what I recommend.
Yah I agree with Ryan. I would not be mixing many themes. I would create one theme that had different layouts in a variety of theme twig templates, then just assign each template to each page. This is totally possible with Grav.
some body has given information about it in muut.com/…/do-i-need-to-wait-on-multi. but i could not succeed yet.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1333 | 9 years ago | ||
| 2 | 924 | 9 years ago | ||
| 2 | 4055 | 9 years ago | ||
| 1 | 2935 | 9 years ago | ||
| 3 | 1110 | 9 years ago |