Skip to content

Consider support for pattern links inside base data object #171

@bmuenzenmeyer

Description

@bmuenzenmeyer

Need to further investigate pattern links in data... per this issue, which points ultimately to this patternlab php issue

I'm confused by this syntax:

"foo": {
    "url" : "link.pages-about"
}

working with

{{# foo }}
<a href="{{ url }}">Foo</a>
{{/ foo }}

Shouldn't it be the following, to let the natural mustache processing take over?

{{# foo }}
<a href="{{ foo.url }}">Foo</a>
{{/ foo }}

🆘 @dmolsen or @bradfrost you both have experience using this in PL-PHP - some guidance would be appreciated.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions