HUGO
News Docs Themes Community GitHub

hugo.CommitHash

Returns the Git commit hash of the Hugo binary.

Syntax

hugo.CommitHash

Returns

string
{{ hugo.CommitHash }} → a4892a07b41b7b3f1f143140ee4ec0a9a5cf3970

Last updated: January 1, 0001
Improve this page