Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Missing file in a theme

theme

Solved by P. Mergey View solution

Started by P. Mergey 6 years ago · 1 replies · 910 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 MarkP, 7 days ago
3 123 3 days ago
Themes & Styling · by TomW, 6 days ago
0 67 6 days ago
Themes & Styling · by themetman, 2 weeks ago
1 159 2 weeks ago
Themes & Styling · by AH, 4 weeks ago
1 274 2 weeks ago
Themes & Styling · by Bruno, 4 years ago
6 1463 2 weeks ago