From 6c50927505e280b6651bf1fdf972c81e723fa297 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Fri, 5 Jan 2024 07:45:20 +0000 Subject: [PATCH] ignore index.md in single-page --- .github/single-page.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/single-page.py b/.github/single-page.py index dfbaf7819..4f9fc407d 100644 --- a/.github/single-page.py +++ b/.github/single-page.py @@ -7,7 +7,12 @@ def output(): content = "" nsfw_content = "" for file in read: - if file != "README.md" or file != "feedback.md" or file != "posts.md": + if ( + file != "README.md" + or file != "feedback.md" + or file != "posts.md" + or file != "index.md" + ): with open(file, "r") as f: if "NSFWPiracy.md" == file: nsfw_content += f.read()