mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
lang attribute for non-english posts
This commit is contained in:
parent
22f21fb4a1
commit
277b21b8a0
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@
|
|||
width="{{ post.image.thumbnail_width }}" height="{{ post.image.thumbnail_height }}" loading="lazy" /></a>
|
||||
{% endif -%}
|
||||
{% endif -%}
|
||||
<div class="post_body">
|
||||
<div class="post_body"{% if post.language_id and post.language.code != 'en' %} lang="{{ post.language.code }}"{% endif %}>
|
||||
{{ post.body_html|community_links|safe if post.body_html else '' }}
|
||||
{% if archive_link -%}
|
||||
<p><a href="{{ archive_link }}" rel="nofollow ucg noindex" target="_blank">{{ _('Archive.ph link') }} <span class="fe fe-external"></span></a></p>
|
||||
|
|
Loading…
Add table
Reference in a new issue