Compare commits

...

1 Commits

Author SHA1 Message Date
08948739a0 longer commit string
All checks were successful
gl/check check status: success (08948739a05ea33ec515e8ebc765596bee7350b5)
gl/gate gate status: success (08948739a05ea33ec515e8ebc765596bee7350b5)
2024-09-06 07:55:40 +00:00

View File

@ -134,8 +134,8 @@ latex_documents = [
{% endif -%}
]
# Get the Git commit values
# Get the Git commit values for last updated timestamp on each page
repo = Repo(search_parent_directories=True)
commit = repo.head.commit
current_commit_hash = commit.hexsha[:7]
current_commit_hash = commit.hexsha
current_commit_time = commit.committed_datetime.strftime('%Y-%m-%d %H:%M')