diff --git a/repologyapp/__init__.py b/repologyapp/__init__.py
index f15e548a..4e10a2af 100644
--- a/repologyapp/__init__.py
+++ b/repologyapp/__init__.py
@@ -25,7 +25,7 @@
from repologyapp.config import config
from repologyapp.globals import repometadata
from repologyapp.template_filters import css_for_versionclass, extract_netloc, maintainer_to_links, maintainers_to_group_mailto
-from repologyapp.template_functions import endpoint_like, url_for, url_for_self, url_for_static
+from repologyapp.template_functions import endpoint_like, needs_ipv6_notice, url_for, url_for_self, url_for_static
from repologyapp.template_tests import for_page, has_flag, has_flag_at, is_fallback_maintainer
from repologyapp.views import registry as view_registry
@@ -63,6 +63,7 @@
app.jinja_env.globals['url_for'] = url_for
app.jinja_env.globals['url_for_self'] = url_for_self
app.jinja_env.globals['url_for_static'] = url_for_static
+app.jinja_env.globals['needs_ipv6_notice'] = needs_ipv6_notice
# templates: custom global data
app.jinja_env.globals['REPOLOGY_HOME'] = config['REPOLOGY_HOME']
diff --git a/repologyapp/template_functions.py b/repologyapp/template_functions.py
index 244563ad..49c3d14f 100644
--- a/repologyapp/template_functions.py
+++ b/repologyapp/template_functions.py
@@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with repology. If not, see