Place a program's version in a footer of a site.
This commit is contained in:
parent
cdabb77c39
commit
b13f287d5f
@ -2,6 +2,8 @@ package web
|
||||
|
||||
import "strings"
|
||||
|
||||
import "git.arav.su/Arav/dwelling-home/internal/version"
|
||||
|
||||
templ base(title, description, keywords, canonical string, head templ.Component) {
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
@ -64,7 +66,7 @@ templ base(title, description, keywords, canonical string, head templ.Component)
|
||||
<footer>
|
||||
<a href="/rss.xml" title="Stay up to date on what's going on.">RSS feed</a>
|
||||
<br/>
|
||||
© 2017—2024 Alexander "Arav" Andreev <<a href="mailto:me@arav.su">me@arav.su</a>> <a href="/privacy">Privacy statements</a>
|
||||
{ version.GetVersion() } © 2017—2024 Alexander "Arav" Andreev <<a href="mailto:me@arav.su">me@arav.su</a>> <a href="/privacy">Privacy statements</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user