To do this, I added a CommitHistory component, which takes a path as a prop; the path is then concatenated with the base path and a request is made to the GitHub commits
endpoint:
In my Post.vue template file, I then have a path computed property that determines the path in the repository of the current post, and sends that to the CommitHistory component:
Nothing fancy, but a fun little feature to add to my site. Of course, since most of my posts are recently imported from WordPress, they'll almost all have a commit message of add a ton of stuff? ¯\_(ツ)_/¯. All the more reason to write more!