Is it possible to expose/append a full git commit ID in a Jekyll website on GitHub Pages? Similar to the sbt-buildinfo plugin for Scala-powered websites.
It should look like this at the end of the website source code (e.g. membership.theguardian.com
):
<!-- build-commit-id: 370fa99f0cf1a2acc8b273a37d359e3a43b084e1 -->
I found this old plugin on GitHub for self-hosted usage but this doesn’t work for GitHub Pages and it uses short git commit IDs.
PS: I want to implement this in my Jekyll website: