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.

Support

New theme - getting 400 error 'blog.html.twig' is undefined

solved

Solved by Glenn View solution

Started by Glenn 8 years ago · 1 replies · 1130 views
8 years ago

I've read the previous threads that seemed relevant - tried a few changes but none did anything.

So I switch from Quark to Masonry and get this error. It's not a particularly helpful error. The only thing I can see is that the Masonry theme does not have a blog.html.twig template. It does, however, have a post.html.twig template. Should I rename it? Should I change something in my post files? Should I rename my post files?

Really lost here...

8 years ago Solution

Well now - never mind!

Went back to Pages > 02.Blog > Advanced - changed the Page template to post, then page - both at least got a page with various things on them instead of the error. Then I changed it back to default and behold, we have blog posts! Guess something was cached? No idea...

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 57 14 hours ago
Support · by Anna, 3 days ago
2 65 17 hours ago
Support · by Justin Young, 18 hours ago
1 33 18 hours ago
Support · by Duc , 1 week ago
2 68 5 days ago
Support · by Colin Hume, 1 week ago
2 60 6 days ago