-
Notifications
You must be signed in to change notification settings - Fork 452
Link variable #161
Comments
This is a silly example but hope it makes the point. You want a molecule that has in it:
And when |
Exaclty. So to further the example:
In my
and in my
|
I'm not hopeful I can implement this but I'll give it a shot. |
Just bumping this up, as I'm repeatedly running into this issue. Wondering if there's a way to give a prefix to the data with "link" or something to make this happen. Or something like |
Really fast hack at this is in
Where |
This works! Thanks for the amazing work. Wow this is so incredibly helpful. |
Is this part of the current master? |
@makeaweli It sure is. You can learn more about it here |
I'm really diving into using the
link
variable (http://patternlab.io/docs/data-link-variable.html), and am absolutely loving it.One thing I'd like to be able to do is link to other patterns with
_data.json
. I set a lot of my patterns up like so:<a href="{{ url }}">
and would love to be able to point that
{{ url }}
to other patterns. Is this possible?The text was updated successfully, but these errors were encountered: