Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Assigning modified Twig templates

Started by Muut Archive 12 years ago · 2 replies · 430 views
12 years ago

Hi!

How can I solve this?

JS
+- 01.blog (=> blog.html.twig)
|
+- 02.research
|
+- 03.publications (=> publications.html.twig)

01.blog and 03.publications are both listing pages. For 01.blog I want to use the standard Antimatter blog.html.twig template. For 03.publications I want to use a modified template. Where do I set the option to advice Grav to apply the adapted template publications.html.twig to 03.publications?

12 years ago

Figured it out:

Rename 03.publications/blog.ml to 03.publications/publications.ml

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago