-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full Commit Message in .GitInfo #10905
Comments
This would have to be added to this struct: https://github.com/bep/gitmap/blob/master/gitmap.go#L44 I'm not totally sure how that would work with the current |
@bep Thanks for the quick response and for providing this wonderful piece of software! This feature is not a blocker at all for us. |
Updated bep/gitmap to v1.4.0, to get commit message's Body. Added Body to GitInfo struct. Fixes gohugoio#10905
Included an example for commit Body exposed by GitInfo. Fixes gohugoio#10905
Updated bep/gitmap to v1.4.0, to get commit message's Body. Added Body to GitInfo struct. Docs upated with commit body example. Fixes gohugoio#10905
Updated bep/gitmap to v1.4.0, to get commit message's Body. Added Body to GitInfo struct. Docs upated with commit body example. Fixes gohugoio#10905
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Current Behavior
The
.GitInfo
object hat aSubject
field which contains the first line of the commit messageProposed Bahavior
Add another field
Message
with the full commit message.Reasoning
We implemented a content management system based on Git and Hugo. For the meta information it would be useful to present the full commit message, e.g. as a tooltip on top of the subject.
The text was updated successfully, but these errors were encountered: