Add robots meta tag to templates to make it less likely for a crawler to get stuck

This commit is contained in:
Slatian
2024-08-06 19:36:17 +02:00
parent 3b4e6eba4b
commit 2e5a2408b4
4 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,8 @@
{% extends "ip.html" %}
{% import "helpers.html" as helper %}
{% block robots_meta %}{# Allow indexing for landing page #}{% endblock %}
{% block title %}Your IP: {{ data.result.address }}{% endblock %}
{% block og_title %}What is my IP-Address?{% endblock %}
{% block h1 %}Your IPv{% if data.result.ip_info.is_v6_address %}6{% else %}4{% endif %}: <code>{{ data.result.address }}</code>{% endblock %}