Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Admin and Page Template?

Started by Muut Archive 11 years ago · 2 replies · 352 views
11 years ago

The modular.html.twig page template from my theme is not showing up in the Admin as a choice for new pages types. My other page templates are. What is it that tells the Admin to include, or not include, a page template?

11 years ago

The Admin plugin scans the templates/ folder of your theme, you can even put an empty file called modular.html.twig and "Modular" will show up in the list.
If you set Antimatter as your theme, does it show up?

11 years ago

OK, I got this fixed. But I'm not sure how. It may have been a sticky cache - I know a couple of bin/grav clear-cache --all happened along the way.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2284 9 years ago
Archive · by Muut Archive, 9 years ago
2 1498 9 years ago
Archive · by Muut Archive, 9 years ago
2 4748 9 years ago
Archive · by Muut Archive, 9 years ago
1 3564 9 years ago
Archive · by Muut Archive, 9 years ago
3 1623 9 years ago