mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-30 03:15:29 +00:00
eed418477f
Previously, all templates were named with the .html extension, which caused problems for editors to recognize the Jinja2 syntax used in them. In this commit, all templates have been renamed to use the .jinja2 extension to better reflect their use of Jinja2 and to improve editor recognition.
11 lines
271 B
Django/Jinja
11 lines
271 B
Django/Jinja
<div class="rounded-lg bg-black bg-opacity-20">
|
|
{% for (name, value) in stats %}
|
|
<div
|
|
class="px-7 py-1.5 flex justify-between even:bg-white even:bg-opacity-10"
|
|
>
|
|
<div>{{ name }}</div>
|
|
<div class="italic">{{ value }}</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|