Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Adding docs for hidden patterns #86

Merged
merged 1 commit into from
Oct 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docs/pattern-hiding.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,16 @@ 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.
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.

## Alternative approach

Instead of renaming your file, you could make a file called `map.md` that contains:

```
---
hidden: true
---
```

PHP version requires core v2.8.4 or higher.