From 9e82301ef542d6ccce5d3a461d0aa6e6b3381f76 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 24 2014 11:00:12 +0000 Subject: Only show the description if there is one --- diff --git a/progit/templates/index.html b/progit/templates/index.html index 586e9af..d3d9a22 100644 --- a/progit/templates/index.html +++ b/progit/templates/index.html @@ -12,7 +12,9 @@ href="{{ url_for('view_repo', repo=repo.name) }}"> {{ repo.name }} + {% if repo.description %} {{ repo.description | wraps(20) }} + {% endif %} {% endfor %}