Template improments, links, breadcrumbs for domain lookups

This commit is contained in:
Slatian
2023-02-24 00:01:51 +01:00
parent 6e1d3c02ef
commit da13444a2e
10 changed files with 112 additions and 8 deletions

View File

@ -1,9 +1,10 @@
{% extends "base.html" %}
{% import "helpers.html" as helper %}
{% import "links.html" as links %}
{% block title %}dig {{ data.query }}{% endblock %}
{% block og_title %}dig {{ data.query }}{% endblock %}
{% block h1 %}dig <code>{{ data.query }}</code>{% endblock %}
{% block h1 %}dig <code>{{ helper::breadcrumb_domain(extra=extra, name=data.query) }}</code>{% endblock %}
{% block og_path %}/dig/{{ data.query | urlencode_strict }}{% endblock %}
@ -65,4 +66,10 @@
{% endif %}
</section>
<section>
<h2>Other Services</h2>
{{ links::domain_name_links(name=idn.idn|default(value=data.query))}}
</section>
{% endblock %}