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

Default modular blueprints for all modular templates?

form

Started by Ayoze 9 years ago · 1 replies · 1085 views
9 years ago

Hi guys, developing a theme Im getting many common fields between all modular templates. I would like to create just 1 blueprint file to setup common options and then add specific fields on each module. Is it possible?

Im trying with this code in blueprints/modular/default.yaml but its not working
'@extends':
type: modular/default
context: blueprints://pages

9 years ago

I think the code should be -

TXT
title: Name of your Blueprint
extends@: modular/default

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by FrViPofm, 2 weeks ago
4 396 6 days ago
Themes & Styling · by johan thomas, 5 years ago
1 753 2 weeks ago
Themes & Styling · by stuart young, 2 months ago
3 609 2 months ago
Themes & Styling · by Sebadamus, 2 months ago
5 623 2 months ago
Themes & Styling · by martynfoster735, 2 months ago
1 595 2 months ago