From 752d9d4bc1ec7244bf9ecb8faddc9ff762dbbbee Mon Sep 17 00:00:00 2001 From: Evan Lovely Date: Thu, 12 Oct 2017 15:46:22 -0700 Subject: [PATCH] Adding docs for hidden patterns --- docs/pattern-hiding.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/pattern-hiding.md b/docs/pattern-hiding.md index 6bc8bea..45c4148 100644 --- a/docs/pattern-hiding.md +++ b/docs/pattern-hiding.md @@ -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. \ No newline at end of file +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.