Skip to content

Commit

Permalink
🔥 scrap git in footer option (forgot that's not what .GitInfo does)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinwilson committed Aug 20, 2023
1 parent 13ca234 commit 345cb1c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions layouts/partials/docs/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
<p class="mb-0">
{{ $yearToken := (cond (isset .Site.Params (lower "copyrightYearToken")) $.Site.Params.copyrightYearToken ":YEAR:") }}
{{ replace $.Site.Params.footer.copyright $yearToken (string (now.Format "2006")) | markdownify }}
{{ if and .GitInfo .Site.Params.docs.ghrepo -}}
{{ if .Site.Params.footer.version }}
<span>(<strong><a href='https://{{ .Site.Params.docs.ghrepo }}/tree/{{ .GitInfo.Hash }}' target="_blank">{{ .GitInfo.AbbreviatedHash }}</a></strong>)</span>
{{ end }}
{{ end }}
</p>
</div>
</div><!--end col-->
Expand Down

0 comments on commit 345cb1c

Please sign in to comment.