Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Assigning modified Twig templates

Started by Muut Archive 12 years ago · 2 replies · 205 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 Deleted User, 9 years ago
0 1280 9 years ago
Archive · by Muut Archive, 9 years ago
2 888 9 years ago
Archive · by Muut Archive, 9 years ago
2 4018 9 years ago
Archive · by Muut Archive, 9 years ago
1 2893 9 years ago
Archive · by Muut Archive, 9 years ago
3 1077 9 years ago