Files
rustyip/templates/_footer.html
T
NetworkCats ab7fb7c3c6 refactor: migrate templates to Askama custom i18n filter syntax
Replace all {{ t_field_name }} template variables with {{ "msgid"|t(locale) }}
filter calls across all 6 template files. This works with the #[askama::filter_fn]
defined in handlers/html.rs, which calls i18n::translate() directly.

Templates updated: index.html, error_alert.html, error_page.html,
_footer.html, _footer_lang.html, _search_form.html
2026-03-22 17:33:55 +08:00

6 lines
570 B
HTML

<p class="footer-license">{{ "Website source code licensed under"|t(locale) }} <a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a></p>
<nav class="footer-links" aria-label="{{ "Project links"|t(locale) }}">
<a href="https://github.com/NetworkCats/rustyip"><i class="icon-social-github" aria-hidden="true"></i> {{ "Website Source"|t(locale) }}</a>
<span class="footer-sep" aria-hidden="true">|</span>
<a href="https://github.com/NetworkCats/Merged-IP-Data"><i class="icon-social-github" aria-hidden="true"></i> {{ "IP Database"|t(locale) }}</a>
</nav>