~kmdodrill/hugo-bare-theme-no-analytics

ref: ea6e9be6afe5f02aabeb5bbfc9a75d230b592a2d hugo-bare-theme-no-analytics/layouts/partials/footer.html -rw-r--r-- 846 bytes
ea6e9be6Kenneth Dodrill Add all files from Gitea 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<footer class="footer">
  <div class="content has-text-centered">
    {{ if $.GitInfo }}
    <p>
      Last modified {{ $.GitInfo.AuthorDate.Format "January 02, 2006" }}
      {{ if $.Site.Params.repoLink }}
      (commit <a href="{{ $.Site.Params.repoLink }}/commit/{{ $.GitInfo.Hash }}" target="_blank">{{ $.GitInfo.AbbreviatedHash }}</a>)
      {{ else }}
      (commit {{ $.GitInfo.AbbreviatedHash }})
      {{ end }}
    </p>
    {{ end }}
    
    <p>
      {{ if (not $.Site.Params.disableAttribution) }}
      <a href="https://gitea.kennydodrill.net/kmdodrill/hugo-bare-theme-modified" target="_blank">Bare Hugo Modified theme.</a>
      {{ end }}
      {{ if $.Site.Params.repoLink }}
      Blog source code <a href="{{ $.Site.Params.repoLink }}" target="_blank">available on Github</a>.
      {{ end }}
    </p>
    
  </div>
</footer>