diff --git a/templates/base.html b/templates/base.html index d61b726..cab67a9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,6 +5,9 @@ {% block title %}{{ extra[view].title | default(value="…") }}{% endblock %} | {{extra.site_name|default(value="echoip")}} + + {% block robots_meta %} + {% endblock robots_meta %} {% block metadata %} diff --git a/templates/dig.html b/templates/dig.html index 553fd64..fc58278 100644 --- a/templates/dig.html +++ b/templates/dig.html @@ -2,6 +2,8 @@ {% import "helpers.html" as helper %} {% import "links.html" as links %} +{% block robots_meta %}{% endblock %} + {% block title %}dig {{ data.query }}{% endblock %} {% block og_title %}dig {{ data.query }}{% endblock %} {% block h1 %}dig {{ helper::breadcrumb_domain(extra=extra, name=data.query) }} via {{data.result.used_dns_resolver}}{% endblock %} diff --git a/templates/index.html b/templates/index.html index b492c18..cd2ec0f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -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 %}: {{ data.result.address }}{% endblock %} diff --git a/templates/ip.html b/templates/ip.html index 6e22cbc..75f740a 100644 --- a/templates/ip.html +++ b/templates/ip.html @@ -2,6 +2,8 @@ {% import "helpers.html" as helper %} {% import "links.html" as links %} +{% block robots_meta %}{% endblock %} + {% block title %}{{ data.result.address }}{% endblock %} {% block og_title %}Lookup {{ data.result.address }}{% endblock %} {% block h1 %}Lookup {{ data.result.address }}{% endblock %}