Hugo-coder: Git Commit In Footer

Created on 13 Jul 2018  路  8Comments  路  Source: luizdepra/hugo-coder

This is a feature request to add the git commit in the footer.

Use case: It would be useful for a site that has multiple contributors.

It would also be nice to have it disabled (hidden), as not everyone will want/need it. I have seen some examples in other themes, so I am going to reference them here as well.

Links:

There could be more too it that I am not aware of. I am still learning Hugo and its themes, so I apologize. I have been testing this on my personal site, I don't quite have it working yet. Assuming I can get it working, I could contribute the changes.

Most helpful comment

You can commit and push and open a PR of what you have as is, and someone might be able to help you or point something out on the feature.

All 8 comments

This was briefly discussed in a different issue: #50

I haven't had much time, or luck. lol

I think I am getting close, but still isn't working. The [] where the hash should be, is still showing as blank.

You can commit and push and open a PR of what you have as is, and someone might be able to help you or point something out on the feature.

I will work on submitting what I have this coming weekend.

I've forked the project, and have created a new branch with my changes. Hope to have a pr submitted by the end of this weekend.

woohoo, I got it working on my personal site. I was forgetting to set the environment variable on the CI.. I will get the PR submitted for sure.

PR submitted, and looking forward to any feedback/comments.. Appears to be a conflict with the config file..

@luizdepra this can be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vvug picture vvug  路  4Comments

maxdrohde picture maxdrohde  路  3Comments

clement-pannetier picture clement-pannetier  路  3Comments

mauricioabreu picture mauricioabreu  路  5Comments

davhin picture davhin  路  5Comments