feat: add git commit hash into footer

This commit is contained in:
rramiachraf
2024-03-05 19:47:02 +01:00
parent 9b0f8fb96a
commit 23b11d2edf
4 changed files with 46 additions and 18 deletions

View File

@ -1,7 +1,12 @@
package views
import "github.com/rramiachraf/dumb/data"
templ footer() {
<footer>
<a rel="noopener noreferrer" target="_blank" href="https://github.com/rramiachraf/dumb">Source Code</a>
<div id="footer_container">
<a rel="noopener noreferrer" target="_blank" href="https://github.com/rramiachraf/dumb">Source Code</a>
<p id="version">{ data.Version }</p>
</div>
</footer>
}