home/layouts/partials/docs/footer.html
2024-11-10 14:58:15 +01:00

27 lines
757 B
HTML

<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" style="color: #AC9C6D">{{ .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 }}