ignore index.md in single-page
This commit is contained in:
parent
f04970b92e
commit
6c50927505
7
.github/single-page.py
vendored
7
.github/single-page.py
vendored
@ -7,7 +7,12 @@ def output():
|
|||||||
content = ""
|
content = ""
|
||||||
nsfw_content = ""
|
nsfw_content = ""
|
||||||
for file in read:
|
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:
|
with open(file, "r") as f:
|
||||||
if "NSFWPiracy.md" == file:
|
if "NSFWPiracy.md" == file:
|
||||||
nsfw_content += f.read()
|
nsfw_content += f.read()
|
||||||
|
Loading…
Reference in New Issue
Block a user