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

Child Theme: 400 - Template "default.html.twig" is not defined

theme

Solved by Tim View solution

Started by Tim 7 years ago · 1 replies · 812 views
7 years ago

Hi,

I want to make a child theme with quark-open-publishing as parent theme. So I read this article https://getgrav.org/blog/theme-development-with-inheritance

My mytheme.yaml looks like this

YAML
streams:
 schemes:
   theme:
 type: ReadOnlyStream
 prefixes:
   '':
     - user/themes/mytheme
     - user/themes/quark-open-publishing

Folder structure is: Screenshot_20190507_102319|313x148

mytheme in the backend looks like this: Screenshot_20190507_103404|235x499

When I active it I get following error message:

Server Error
Sorry, something went terribly wrong!

400 - Template "default.html.twig" is not defined.

When I activate quark-open-publishing then everything is okay. So I guess something is wrong with my child-theme setup

Can you help me with it?

Suggested topics

Topic Participants Replies Views Activity
Support · by Paul Hodges, 4 weeks ago
19 483 5 days ago
Support · by Lauw, 7 days ago
2 99 6 days ago
Support · by Anna, 2 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago