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

Blueprint extends pathing

Started by Muut Archive 10 years ago · 2 replies · 533 views
10 years ago

Hi, I'm writing a blueprint that should extend another custom theme blueprint I've made. The base blueprint is located at [theme name]/blueprints/single/linkable.yaml

Given this path, how can I extend this blueprint? If I write:

TXT
'@extends': type: linkable
context: blueprints://single

It doesn't find the blueprint.

10 years ago

Try this:

TXT
'@extends': single/linkable

Context should already be blueprints, so you shouldn't need it.

10 years ago

The way I've been able to solve this myself:

TXT
'@extends':
  type: linkable
  context: theme://blueprints/single

However, rhuksters' approach also works.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2567 9 years ago
Archive · by Muut Archive, 9 years ago
2 1690 9 years ago
Archive · by Muut Archive, 9 years ago
2 4982 9 years ago
Archive · by Muut Archive, 9 years ago
1 3808 9 years ago
Archive · by Muut Archive, 9 years ago
3 1800 9 years ago