Commit b83a681f authored by gijs's avatar gijs
Browse files

Limit words on trajectory descriptions on the overview page.

parent 2fb776a8
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
{% if trajectory.summary %} {% if trajectory.summary %}
{{ trajectory.summary }} {{ trajectory.summary }}
{% else %} {% else %}
{{ trajectory.content|truncatechars_html:250 }} {{ trajectory.content|truncateword_html:30 }}
{% endif %} {% endif %}
</section> </section>
{% endfor %} {% endfor %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment