You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 10, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,22 @@ Pattern states should be lowercase and use hyphens where spaces are present.
73
73
}
74
74
```
75
75
76
+
##### Pattern Linking
77
+
You can build patterns that link to one another to help simulate using a real website. This is especially useful when working with the Pages and Templates pattern types. The basic format is:
78
+
79
+
`{{ link.pattern-name }}`
80
+
81
+
For example, if you wanted to add a link to the `home page` template from your `blog` template you could write the following:
As you can see, it's a much easier way of linking patterns to one another.
90
+
91
+
76
92
##### Pattern Export
77
93
`config.json` also has two properties that work together to export completed patterns for use in a production environment. Provide an array of keys and an output directory. Pattern Lab doesn't ship with any pattern export keys, but the default directory is `"./pattern_exports/"` created inside the install directory.
0 commit comments