1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Use a <time> element for the last-deployed time

This commit is contained in:
Rohan Kumar 2022-02-10 22:26:58 -08:00
parent 08de786bbc
commit 68237c5e8f
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -9,6 +9,6 @@
<a rel="alternate" href="http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion{{ .RelPermalink }}">Tor</a> <a rel="alternate" href="http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion{{ .RelPermalink }}">Tor</a>
</p> </p>
{{if .GitInfo -}} {{if .GitInfo -}}
<p>Site last deployed on {{now.Format "2006-01-02 15:04:05 -0700" }}</p> <p>Site last deployed on <time datetime="{{ dateFormat "2006-01-02 15:04:05Z07:00" now }}">{{now.Format "2006-01-02 15:04:05 -0700" }}</time></p>
{{- end}} {{- end}}
</footer> </footer>