Skip to content

Commit a988c9a

Browse files
authored
[BUGFIX] Don't include template file when expanding tags (#18)
1 parent 0795b88 commit a988c9a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/expand-tags

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ $filesAndLinks = json_decode(file_get_contents(SEARCH_PATH . '/files.json'), tru
77
$tagsToFiles = [];
88

99
foreach ($filesAndLinks['files'] as $file) {
10-
if (basename($file['path']) === '/Index.md') {
10+
if (
11+
basename($file['path']) === '/Index.md'
12+
|| $file['path'] === '/90Contribute/10Template/Index.md'
13+
) {
1114
continue;
1215
}
1316

0 commit comments

Comments
 (0)