add comments

This commit is contained in:
Antonio J. Delgado 2025-02-17 14:31:24 +02:00
parent f5b07072ad
commit aa3340f4d7

View file

@ -58,12 +58,13 @@
<!-- content block --> <!-- content block -->
<DIV STYLE='font-size: 24px;'> <DIV STYLE='font-size: 24px;'>
{% if data['spoiler'] != "" and data['spoiler'] != null %} {% if data['spoiler'] != "" and data['spoiler'] != null %}
<!-- spoiler -->
{% if data['translated_spoiler'] != "" and data['translated_spoiler'] != null %} {% if data['translated_spoiler'] != "" and data['translated_spoiler'] != null %}
<!-- translated spoiler -->
<DIV CLASS='item-spoiler'> <DIV CLASS='item-spoiler'>
{{ data['translated_spoiler'] }} {{ data['translated_spoiler'] }}
</DIV> </DIV>
{% endif %} {% endif %}
<!-- spoiler -->
<DIV CLASS='item-spoiler'> <DIV CLASS='item-spoiler'>
{{ data['spoiler'] }} {{ data['spoiler'] }}
</DIV> </DIV>
@ -71,6 +72,7 @@
<!-- item-content --> <!-- item-content -->
<DIV CLASS='item-content' STYLE="margin:0.5%;background-color:#111;padding:0.5%;"> <DIV CLASS='item-content' STYLE="margin:0.5%;background-color:#111;padding:0.5%;">
{% if data['translated_content'] != '' and data['translated_content'] != null %} {% if data['translated_content'] != '' and data['translated_content'] != null %}
<!-- translated_content -->
{{ data['translated_content'] }} {{ data['translated_content'] }}
{% endif %} {% endif %}
{{ data['content'] }} {{ data['content'] }}
@ -123,6 +125,7 @@
<!-- reply_spoiler --> <!-- reply_spoiler -->
<DIV CLASS='reply-spoiler'> <DIV CLASS='reply-spoiler'>
{% if reply['translated_spoiler'] != '' and reply['translated_spoiler'] != null %} {% if reply['translated_spoiler'] != '' and reply['translated_spoiler'] != null %}
<!-- translated_reply_spoiler --->
{{ reply['translated_spoiler'] }} {{ reply['translated_spoiler'] }}
{% endif %} {% endif %}
{{ reply['spoiler'] }} {{ reply['spoiler'] }}
@ -130,6 +133,7 @@
<!-- reply_content --> <!-- reply_content -->
<DIV CLASS='reply-content'> <DIV CLASS='reply-content'>
{% if reply['translated_content'] != '' and reply['translated_content'] != null %} {% if reply['translated_content'] != '' and reply['translated_content'] != null %}
<!-- translated_reply_content --->
{{ reply['translated_content'] }} {{ reply['translated_content'] }}
{% endif %} {% endif %}
{{ reply['content'] }} {{ reply['content'] }}
@ -185,6 +189,7 @@
<DIV STYLE='font-size: 24px;'> <DIV STYLE='font-size: 24px;'>
<!-- reblog_spoiler --> <!-- reblog_spoiler -->
{% if data['reblog']['translated_spoiler'] != '' and data['reblog']['translated_spoiler'] != null %} {% if data['reblog']['translated_spoiler'] != '' and data['reblog']['translated_spoiler'] != null %}
<!-- translated_reblog_spoiler --->
<DIV CLASS='reblog-spoiler'> <DIV CLASS='reblog-spoiler'>
{{ data['reblog']['translated_spoiler'] }} {{ data['reblog']['translated_spoiler'] }}
</DIV> </DIV>
@ -195,6 +200,7 @@
<!-- reblog_content --> <!-- reblog_content -->
<DIV CLASS='reblog-content'> <DIV CLASS='reblog-content'>
{% if data['reblog']['translated_content'] != '' and data['reblog']['translated_content'] != null %} {% if data['reblog']['translated_content'] != '' and data['reblog']['translated_content'] != null %}
<!-- translated_reblog_content --->
{{ data['reblog']['translated_content'] }} {{ data['reblog']['translated_content'] }}
{% endif %} {% endif %}
{{ data['reblog']['content'] }} {{ data['reblog']['content'] }}