This commit is contained in:
2025-06-10 14:13:19 -06:00
parent ad1a614ff3
commit ced9625083
6 changed files with 34 additions and 8 deletions

View File

@ -87,11 +87,19 @@
</section>
{{ end }}
{{ 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>
{{ end }}
<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=Update+Page+For+{{ .Title | urlquery }}&body=Describe+your+problem+or+suggested+update+for+the+page+%22{{ .Title }}%22.">issue</a> or <a href="https://gitmoss.fyi/fmtools/content/fork">pull request</a>.
</div>
{{ if .Date }}
<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 }}