Updating .gitignore & removing print from generator.py
This commit is contained in:
parent
941fd2be73
commit
dca57b84d8
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
.venv/
|
||||
.env
|
||||
__pycache__/
|
||||
|
@ -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>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user