Skip to content
Grav 2.0 is officially stable. Read the announcement →
Themes & Styling

Missing file in a theme

theme

Solved by P. Mergey View solution

Started by P. Mergey 6 years ago · 1 replies · 730 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 Sebadamus, 7 days ago
5 148 17 hours ago
Themes & Styling · by martynfoster735, 1 week ago
1 193 1 week ago
Themes & Styling · by Justin Young, 3 weeks ago
1 241 3 weeks ago
Themes & Styling · by Slebeig, 1 month ago
4 376 1 month ago
Themes & Styling · by Pedro M, 4 months ago
4 745 3 months ago