fix: require reactions to be unique for owner, asset
add: cut off really long text in posts
This commit is contained in:
parent
a1c6beb664
commit
d7a37809ba
9 changed files with 27 additions and 37 deletions
|
@ -228,9 +228,13 @@ and show_community and community.id != config.town_square or question %}
|
|||
</div>
|
||||
|
||||
{% if not post.context.content_warning %}
|
||||
<span id="post-content:{{ post.id }}" class="no_p_margin"
|
||||
>{{ post.content|markdown|safe }}</span
|
||||
<span
|
||||
id="post-content:{{ post.id }}"
|
||||
class="no_p_margin"
|
||||
hook="long"
|
||||
>
|
||||
{{ post.content|markdown|safe }}
|
||||
</span>
|
||||
{% else %}
|
||||
<details>
|
||||
<summary
|
||||
|
@ -240,9 +244,13 @@ and show_community and community.id != config.town_square or question %}
|
|||
<b>{{ post.context.content_warning }}</b>
|
||||
</summary>
|
||||
|
||||
<span id="post-content:{{ post.id }}" class="no_p_margin"
|
||||
>{{ post.content|markdown|safe }}</span
|
||||
<span
|
||||
id="post-content:{{ post.id }}"
|
||||
class="no_p_margin"
|
||||
hook="long"
|
||||
>
|
||||
{{ post.content|markdown|safe }}
|
||||
</span>
|
||||
</details>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
@ -111,7 +111,6 @@ macros -%}
|
|||
atto["hooks::ips"]();
|
||||
atto["hooks::check_reactions"]();
|
||||
atto["hooks::tabs"]();
|
||||
atto["hooks::partial_embeds"]();
|
||||
atto["hooks::spotify_time_text"](); // spotify durations
|
||||
|
||||
if (document.getElementById("tokens")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue