Updating .gitignore & removing print from generator.py

This commit is contained in:
Oxbian 2023-06-25 00:23:46 +02:00
parent 941fd2be73
commit dca57b84d8
2 changed files with 1 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.venv/
.env
__pycache__/

View File

@ -67,7 +67,6 @@ def generateIndex(data, env_vars):
for page in data:
# Checking if there is metadata, if not we don't add the page in the index
if page['date'] != '01-01-0001':
print(page['date'])
index_content += ('\t\t\t\t<li><a href="' + page['filepath'] + '">' + page['title'] + '</a><p>'
+ page['date'] + '</p></li>\n')
index_content += "\t\t\t</ul>"