Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
tools.ethertoff
Commits
b83a681f
Commit
b83a681f
authored
Nov 13, 2019
by
gijs
Browse files
Limit words on trajectory descriptions on the overview page.
parent
2fb776a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
generator/templates/trajectories.html
View file @
b83a681f
...
...
@@ -52,7 +52,7 @@
{% if trajectory.summary %}
{{ trajectory.summary }}
{% else %}
{{ trajectory.content|truncate
chars
_html:
25
0 }}
{{ trajectory.content|truncate
word
_html:
3
0 }}
{% endif %}
</section>
{% endfor %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment