Skip to content

Commit ce93917

Browse files
authored
Update update_index_md.py
1 parent 2d0ede9 commit ce93917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/update_index_md.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def main():
8989
if ' ' in demo_path:
9090
demo_path = '%20'.join(demo_path.split())
9191
demo_path_output = f'[/{REPO_NAME}/{title}/]({demo_path} "view the result of {title}")'
92-
if demo_path == 'root' or demo_path == '{init}':
92+
if title == 'root' or title == '{init}':
9393
demo_path_output = f'[/{REPO_NAME}/]({demo_path} "view the result of {title}")'
9494

9595
# Appending all data together

0 commit comments

Comments
 (0)