1
0

Added links to set site's lang.

This commit is contained in:
Alexander Andreev 2024-09-15 00:29:52 +04:00
parent d9d7358abf
commit d26bcc58b8
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -70,6 +70,9 @@ templ base(title, description, keywords, canonical string, r *http.Request, head
<footer> <footer>
<a href="/rss.xml" title={ i18n.T(ctx, "base.rss-feed-title") }>{ i18n.T(ctx, "base.rss-feed") }</a> <a href="/rss.xml" title={ i18n.T(ctx, "base.rss-feed-title") }>{ i18n.T(ctx, "base.rss-feed") }</a>
<br/> <br/>
<a href="?lang=ru">рус</a>
<a href="?lang=en">eng</a>
<br/>
{ version.GetVersion() } &copy; 2017&mdash;2024 { i18n.T(ctx, "base.copy-author") } &lt;<a href="mailto:me@arav.su">me@arav.su</a>&gt; <a href="/privacy">{ i18n.T(ctx, "base.privacy-statements-link") }</a> { version.GetVersion() } &copy; 2017&mdash;2024 { i18n.T(ctx, "base.copy-author") } &lt;<a href="mailto:me@arav.su">me@arav.su</a>&gt; <a href="/privacy">{ i18n.T(ctx, "base.privacy-statements-link") }</a>
</footer> </footer>
</body> </body>