Skip to content

Commit

Permalink
trucnate featured doc description if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
timcowlishaw committed Sep 5, 2024
1 parent f26e0c4 commit 4ce9625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddlh/templates/partials/carousel_item.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>
<div class="description">
{% markdown %}
{{ document.description }}
{{ document.description|truncate(1000, True, '...') }}
{% endmarkdown %}
</div>
</div>
Expand Down

0 comments on commit 4ce9625

Please # to comment.