Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Blueprint extends pathing

Started by Muut Archive 9 years ago · 2 replies · 401 views
9 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.

9 years ago

Try this:

TXT
'@extends': single/linkable

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

9 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 1333 9 years ago
Archive · by Muut Archive, 9 years ago
2 924 9 years ago
Archive · by Muut Archive, 9 years ago
2 4055 9 years ago
Archive · by Muut Archive, 9 years ago
1 2933 9 years ago
Archive · by Muut Archive, 9 years ago
3 1110 9 years ago