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