Skip to content

Commit

Permalink
Truncate notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tino097 committed Oct 9, 2024
1 parent 96fd7d9 commit 626963f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h3 class="media-heading">{{ h.link_to(title|truncate(truncate_title), h.url_for
{% endblock %}
{% block notes %}
{% if notes %}
<div>{{ notes|urlize }}</div>
<div>{{ notes|urlize|truncate(120) }}</div>
{% else %}
<p class="empty">{{ _("This showcase has no description") }}</p>
{% endif %}
Expand Down

0 comments on commit 626963f

Please sign in to comment.