1
0

Place a program's version in a footer of a site.

This commit is contained in:
Alexander Andreev 2024-07-02 04:12:50 +04:00
parent cdabb77c39
commit b13f287d5f
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -2,6 +2,8 @@ package web
import "strings" import "strings"
import "git.arav.su/Arav/dwelling-home/internal/version"
templ base(title, description, keywords, canonical string, head templ.Component) { templ base(title, description, keywords, canonical string, head templ.Component) {
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
@ -64,7 +66,7 @@ templ base(title, description, keywords, canonical string, head templ.Component)
<footer> <footer>
<a href="/rss.xml" title="Stay up to date on what's going on.">RSS feed</a> <a href="/rss.xml" title="Stay up to date on what's going on.">RSS feed</a>
<br/> <br/>
&copy; 2017&mdash;2024 Alexander &quot;Arav&quot; Andreev &lt;<a href="mailto:me@arav.su">me@arav.su</a>&gt; <a href="/privacy">Privacy statements</a> { version.GetVersion() } &copy; 2017&mdash;2024 Alexander &quot;Arav&quot; Andreev &lt;<a href="mailto:me@arav.su">me@arav.su</a>&gt; <a href="/privacy">Privacy statements</a>
</footer> </footer>
</body> </body>
</html> </html>