Added plain text (gemtext like) templates

This commit is contained in:
Slatian
2023-02-25 15:42:59 +01:00
parent aa384c9eff
commit 896564791e
11 changed files with 265 additions and 24 deletions

View File

@ -9,18 +9,6 @@
{% block og_path %}/?query=AS{{ data.asn }}{% endblock %}
{% block content %}
{% if data.result.idn %}
{% set idn = data.result.idn %}
<section>
<h2>Internationalized Domain Names</h2>
<p>Because of some limitations the DNS has, Unicode caracters need a special encoding.</p>
{% if idn.original_was == "unicode" %}
<p>Your Unicode query has been encoded as the <i>IDN</i> <code>{{ idn.idn }}</code> to generate the results below.</p>
{% else %}
<p>Your <i>IDN</i> would decode to <code>{{ idn.unicode }}</code>.</p>
{% endif %}
</section>
{% endif %}
<section>
<h2>Other Services</h2>