Skip to content

Commit 8aa20ee

Browse files
Merge pull request #53 from tommcc/add-conditional-view-all
Hide "All" button if JSON flag is set
2 parents 3a07281 + 29825f3 commit 8aa20ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/html/partials/pattern-nav.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@
1212
{{/ patternItems }}
1313
</ol></li>
1414
{{/ patternTypes }}
15-
<li><a href="styleguide/html/styleguide.html" class="sg-pop" data-patternpartial="all">All</a></li>
15+
{{^ ishControlsHide.views-all }}
16+
<li><a href="styleguide/html/styleguide.html" class="sg-pop" data-patternpartial="all">All</a></li>
17+
{{/ ishControlsHide.views-all }}

0 commit comments

Comments
 (0)