This commit is contained in:
2025-06-13 15:13:04 -06:00
parent fb9f237845
commit 8a862c65e6
2 changed files with 14 additions and 4 deletions

View File

@ -43,7 +43,7 @@
{{ $dateMachine := now | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := now | time.Format "2 January 2006" }}
Made with &#9829; using <a href="https://gohugo.io" target="_blank">Hugo</a> <br/>
Rebuilt on <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
Built <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
</div>
{{ end }}
</div>

View File

@ -23,10 +23,20 @@
{{ .Content }}
</section>
<div class="time" style="display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;">
<div class="footer-links" style="text-align: left;">
Help improve this page!<br/>
Submit an
<a href="https://gitmoss.fyi/fmtools/content/issues/new?&title=[FIX]%20{{ .Title | urlquery }}" target="_blank">issue</a> or
<a href="https://gitmoss.fyi/fmtools/content/fork" target="_blank">pull request</a>.
</div>
{{ if .Date }}
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_long" }}
<p class="time">Updated <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></p>
<div class="footer-date" style="text-align: right;">
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format "2 January 2006" }}
Updated <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
</div>
{{ end }}
</div>
{{ end }}