Skip to content

Commit

Permalink
Add git sha to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
major committed Jun 10, 2021
1 parent 7b1bece commit 46309b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ buildExpored = false
canonifyURLs = true
enableRobotsTXT = true
enableEmoji = true
enableGitInfo = true
enableMissingTranslationPlaceholders = false
disableRSS = false
disableSitemap = false
Expand Down
5 changes: 4 additions & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<hr>
CC-BY-SA 4.0 &raquo;
Made with <a href="https://gohugo.io/">Hugo</a> &raquo;
Theme based on <a href="https://github.com/janraasch/hugo-bearblog/">Hugo ʕ•ᴥ•ʔ Bear</a><br>
Theme based on <a href="https://github.com/janraasch/hugo-bearblog/">Hugo ʕ•ᴥ•ʔ Bear</a> &raquo;
{{ with .GitInfo }}
<a href="https://github.com/major/major.io/commit/{{ .Hash }}">{{ .AbbreviatedHash }}</a>
{{ end }}

0 comments on commit 46309b7

Please sign in to comment.