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 has been archived by the owner on Feb 7, 2023. It is now read-only.
Dave Olsen edited this page Jul 7, 2013
·
2 revisions
There may come a time when you want to remove a pattern from Pattern Lab's drop-down navigation and style guide but still keep it in your patterns directory for later use. You can "comment out" a pattern by adding an _ (underscore) to the beginning of the pattern name. For example, we may have a Google Map-based pattern that we don't need for a particular project. The path might look like:
molecules/media/map.mustache
To "hide" the pattern we add the underscore:
molecules/media/_map.mustache
Once the site has been re-generated the map pattern will no longer show up in the drop-down navigation, the media pattern sub-type "view all" page, nor the style guide.