lyceum-site/layouts/partials/docs/footer.html
2024-11-05 21:59:51 +01:00

40 lines
1 KiB
HTML

<div class="flex flex-wrap justify-between">
<div class="info-container">
<div class="left-section">
<div class="disclaimer">
<span>docs partially generated using gen ai</span>
</div>
<div class="theme">
<span>
site theme based on <a href="https://github.com/alex-shpak/hugo-book" target="_blank">hugo-book</a>
</span>
</div>
</div>
<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>
&lt;{{ .GitInfo.AuthorEmail }}&gt;
</div>
</div>
{{ $script := resources.Get "clipboard.js" | resources.Minify }}
{{ with $script.Content }}
<script>{{ . | safeJS }}</script>
{{ end }}