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 →

Blueprint extends pathing

Started by Muut Archive 10 years ago · 2 replies · 588 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 Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago