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.

Themes & Styling

Missing file in a theme

theme

Solved by P. Mergey View solution

Started by P. Mergey 6 years ago · 1 replies · 624 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 Pedro M, 2 months ago
4 196 2 months ago
Themes & Styling · by Ian, 2 months ago
3 92 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 454 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 47 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 126 3 months ago