diff --git a/dashboard/templates/home.html b/dashboard/templates/home.html index a51f5aa..999983e 100644 --- a/dashboard/templates/home.html +++ b/dashboard/templates/home.html @@ -34,16 +34,16 @@
-

{{ package.description|default("-") }}

+

{{ package.description|default("-")|truncate(80) }}

- {% if package.langs %}{% for lang in package.langs %}{{ lang }}{% endfor %}{% endif %} + {% if package.langs %}{% for lang in package.langs %}{% if loop.index0 <= 2 %}{{ lang }}{% endif %}{% endfor %}{% endif %}
- {% if package.tags %}{% for tag in package.tags %}{{ tag }}{% endfor %}{% endif %} + {% if package.tags %}{% for tag in package.tags %}{% if loop.index0 <= 2 %}{{ tag }}{% endif %}{% endfor %}{% endif %}