From 16ea81aa04cd59343baf3ea5b87ee707282d41f2 Mon Sep 17 00:00:00 2001 From: progamerz-dev <110605605+progamerz-dev@users.noreply.github.com> Date: Sat, 3 Jun 2023 22:16:02 +0300 Subject: [PATCH] NSFW section moved down in single-page --- .github/single-page.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/single-page.py b/.github/single-page.py index a8240b226..1cb0f1a08 100644 --- a/.github/single-page.py +++ b/.github/single-page.py @@ -6,11 +6,15 @@ import re def output(): read = glob.glob("*.md") content = "" + nsfw_content = "" for file in read: if file != "single-page.md" and file != "README.md": with open(file, "r") as f: + if "nsfw" in file.lower(): + nsfw_content += f.read() + continue content += f.read() - return content + return content + nsfw_content def main(): content = output()