mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-02 16:21:32 -08:00
small preview text
This commit is contained in:
parent
33cd7ebdaf
commit
a8be200aec
3 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
<span class="author small">{% if show_post_community -%}<a href="/c/{{ post.community.link() }}" aria-label="{{ _('Go to community %(name)s', name=post.community.name) }}">c/{{ post.community.name }}</a>{% endif -%}
|
||||
by {{ render_username(post.author) }} <time datetime="{{ post.last_active }}">{{ arrow.get(post.last_active if sort == 'active' else post.posted_at).humanize(locale=locale) }}</time></span>
|
||||
{% if post.body_html -%}
|
||||
<div class="post_teaser_article_preview">
|
||||
<div class="post_teaser_article_preview small">
|
||||
{{ first_paragraph(post.body_html) | safe }}
|
||||
</div>
|
||||
{% endif -%}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
{% endif -%}
|
||||
{% if post.body_html -%}
|
||||
<div class="post_teaser_link_preview">
|
||||
<div class="post_teaser_link_preview small">
|
||||
{{ first_paragraph(post.body_html) | safe }}
|
||||
</div>
|
||||
{% endif -%}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<span class="author small">{% if show_post_community -%}<a href="/c/{{ post.community.link() }}" aria-label="{{ _('Go to community %(name)s', name=post.community.name) }}">c/{{ post.community.name }}</a>{% endif -%}
|
||||
by {{ render_username(post.author) }} <time datetime="{{ post.last_active }}">{{ arrow.get(post.last_active if sort == 'active' else post.posted_at).humanize(locale=locale) }}</time></span>
|
||||
{% if post.body_html -%}
|
||||
<div class="post_teaser_link_preview">
|
||||
<div class="post_teaser_link_preview small">
|
||||
{{ first_paragraph(post.body_html) | safe }}
|
||||
</div>
|
||||
{% endif -%}
|
||||
|
|
Loading…
Add table
Reference in a new issue