home/layouts/partials/docs/footer.html

28 lines
749 B
HTML
Raw Normal View History

2024-11-10 00:33:32 +00:00
<div class="flex flex-wrap justify-between">
<div class="info-container">
<div class="commit-info">
<span>Page last edited on {{ .GitInfo.CommitDate.Format "02/01/2006" }}</span>
<br/>
<span>
title: {{ .GitInfo.Subject }}
</span>
<br/>
<span>
commit: <a href="{{ .Site.Params.BookRepo }}/{{ .Site.Params.BookCommitPath }}/{{ .GitInfo.Hash }}" target="_blank" rel="noopener">{{ .GitInfo.AbbreviatedHash }}</a>
</span>
<br/>
<span>
author: {{ .GitInfo.AuthorName }}
</span>
<br/>
<span>
<{{ .GitInfo.AuthorEmail }}>
</div>
</div>
{{ $script := resources.Get "clipboard.js" | resources.Minify }}
{{ with $script.Content }}
<script>{{ . | safeJS }}</script>
{{ end }}