emojos/templates/emojo.html

30 lines
942 B
HTML

{% extends "base.html" %}
{% block title %}Custom emoji list for {{ instance }}{% endblock title %}
{% block body %}
<p>
<b>{{ instance }}</b> emojo list<br>
click/touch to copy to clipboard
</p>
{% for category in emojo.keys() %}
<h2 id={{ category }}>{{ category }}</h2>
<dl class="emojo">
{% for emoj in emojo[category] %}
{% if show_animated %}
<div>
<dt><img src="{{ emoj.url }}" alt=":{{ emoj.shortcode }}:" loading=lazy></dt>
<dd>:{{ emoj.shortcode }}:</dd>
</div>
{% else %}
<div>
<dt><img src="{{ emoj.static_url }}" alt=":{{ emoj.shortcode }}:" loading=lazy></dt>
<dd>:{{ emoj.shortcode }}:</dd>
</div>
{% endif %}
{% endfor %}
</dl>
{% endfor %}
{% endblock body %}
{% block script %}
<script src="/static/copy.js"></script>
{% endblock script %}