emojos/templates/emojo.html

30 lines
944 B
HTML
Raw Normal View History

2018-04-01 20:23:21 -07:00
{% extends "base.html" %}
{% block title %}Custom emoji list for {{ instance }}{% endblock title %}
2018-04-01 20:23:21 -07:00
{% block body %}
<p>
<b>{{ instance }}</b> emojo list<br>
<span id=copy-instructions></span>
2018-04-01 20:23:21 -07:00
</p>
2024-07-22 18:31:44 -07:00
{% 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 %}
2024-07-22 18:31:44 -07:00
</dl>
{% endfor %}
2018-04-01 20:23:21 -07:00
{% endblock body %}
2018-04-03 18:31:14 -07:00
{% block script %}
<script src="/static/copy.js"></script>
2018-04-03 18:31:14 -07:00
{% endblock script %}