diff options
author | Oxbian <got.dacs@slmail.me> | 2023-06-25 00:23:46 +0200 |
---|---|---|
committer | Oxbian <got.dacs@slmail.me> | 2023-06-25 00:23:46 +0200 |
commit | dca57b84d8e6357c958b4a6d4e8a77f3ca43c2dc (patch) | |
tree | 65e17ec7ebb2e30706c4fb06d2414b90db394e73 | |
parent | 941fd2be7371b5d20a84c243571e8b071167af1e (diff) | |
download | blog-generator-dca57b84d8e6357c958b4a6d4e8a77f3ca43c2dc.tar.gz blog-generator-dca57b84d8e6357c958b4a6d4e8a77f3ca43c2dc.zip |
Updating .gitignore & removing print from generator.py
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | generator.py | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -1,2 +1,3 @@ .venv/ .env +__pycache__/ diff --git a/generator.py b/generator.py index dc9db69..74afb9a 100644 --- a/generator.py +++ b/generator.py @@ -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>" |