Cybrkyd's Git Repositories

GitGen - commit: 1f54e4b

commit 1f54e4b7dcc2d6044ab479828e3c77dd6b1ea5faa511c6bb34a4e75aa559584b
author cybrkyd <git@cybrkyd.com> 2026-02-17 18:11:14 +0000
committer cybrkyd <git@cybrkyd.com> 2026-02-17 18:11:14 +0000

Commit Message

Formatting and footers

- Decreased indentation on repo table list and activity graph
- Footers now have copyright notice
- Removed generated date and time from all pages with the exception of the main index page

📊 Diffstat

gitgen.py 30
1 files changed, 16 insertions(+), 14 deletions(-)

Diff

diff --git a/gitgen.py b/gitgen.py
index d5eafa4..88ada37 100644
--- a/gitgen.py
+++ b/gitgen.py
@@ -178,10 +178,10 @@ class GitRepoScanner:
formatted_date = date_obj.strftime('%b %Y')
graph_html += f'''<div class="month-col">
- <div class="col-bar" style="height:{height_percent}%" title="{month['count']} commits in {formatted_date}"></div>
- <div class="col-label">{month['label']}</div>
- <div class="col-count">{month['count']}</div>
- </div>\n'''
+ <div class="col-bar" style="height:{height_percent}%" title="{month['count']} commits in {formatted_date}"></div>
+ <div class="col-label">{month['label']}</div>
+ <div class="col-count">{month['count']}</div>
+ </div>\n'''
graph_html += '</div>'
@@ -388,12 +388,12 @@ class HTMLGenerator:
<div class="repo-list">
<table class="repo-table">
<thead>
- <tr>
- <th>Name</th>
- <th>Description</th>
- <th>Owner</th>
- <th>Last Commit</th>
- </tr>
+ <tr>
+ <th>Name</th>
+ <th>Description</th>
+ <th>Owner</th>
+ <th>Last Commit</th>
+ </tr>
</thead>
<tbody>"""
]
@@ -434,6 +434,7 @@ class HTMLGenerator:
<div class="footer">
<p>Made with <a href="https://git.cybrkyd.com/GitGen" target="&#95;blank" rel="noopener">GitGen</a> by Cybrkyd</p>
+ <p>&copy; 2026 : Cybrkyd</p>
<p>Generated on {self.time_str}</p>
</div>
</body>
@@ -512,7 +513,7 @@ class HTMLGenerator:
<div class="footer">
<p>Made with <a href="https://git.cybrkyd.com/GitGen" target="&#95;blank" rel="noopener">GitGen</a> by Cybrkyd</p>
- <p>Generated on {self.time_str}</p>
+ <p>&copy; 2026 : Cybrkyd</p>
</div>
</body>
</html>"""
@@ -611,7 +612,7 @@ class HTMLGenerator:
<div class="footer">
<p>Made with <a href="https://git.cybrkyd.com/GitGen" target="&#95;blank" rel="noopener">GitGen</a> by Cybrkyd</p>
- <p>Generated on {self.time_str}</p>
+ <p>&copy; 2026 : Cybrkyd</p>
</div>
</body>
</html>""")
@@ -732,7 +733,7 @@ class HTMLGenerator:
<div class="footer">
<p>Made with <a href="https://git.cybrkyd.com/GitGen" target="&#95;blank" rel="noopener">GitGen</a> by Cybrkyd</p>
- <p>Generated on {self.time_str}</p>
+ <p>&copy; 2026 : Cybrkyd</p>
</div>
</body>
</html>""")
@@ -932,7 +933,7 @@ class HTMLGenerator:
<div class="footer">
<p>Made with <a href="https://git.cybrkyd.com/GitGen" target="&#95;blank" rel="noopener">GitGen</a> by Cybrkyd</p>
- <p>Generated on {self.time_str}</p>
+ <p>&copy; 2026 : Cybrkyd</p>
</div>
</body>
</html>"""
@@ -986,3 +987,4 @@ def main():
if __name__ == "__main__":
main()
+