Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Missing file in a theme

theme

Solved by P. Mergey View solution

Started by P. Mergey 6 years ago · 1 replies · 823 views
6 years ago

Digging into a specific theme, I have discovered that a file named metadata.html.twig is supposed to be included in base.html.twig but seems to not exist in the partials folder.

As this theme was originally composed by Grav team members (such as @rhuk), I crosspost here in case some of them can check this issue or if anybody else can tell me what this file is suppose to do in such a theme.

Thanks.

6 years ago Solution

I seem to have confused the paths: according to this answer, the metadata.html.twig file used is already in system/templates/partials and does not need to be added in user/themes/themefoldername/templates/partials/ as I thought.

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by FrViPofm, 4 weeks ago
4 474 2 weeks ago
Themes & Styling · by johan thomas, 5 years ago
1 802 3 weeks ago
Themes & Styling · by stuart young, 2 months ago
3 662 2 months ago
Themes & Styling · by Sebadamus, 3 months ago
5 683 2 months ago
Themes & Styling · by martynfoster735, 3 months ago
1 642 3 months ago