paste list layout
[phorkie.git] / data / templates / display.htm
index cabff593b883e602ecba6d7abb0c50d54408687b..ef2dccff2f6b5a77bc8f40d9a01173a5c905e62c 100644 (file)
@@ -1,5 +1,11 @@
 {% extends "base.htm" %}
-{% block title %}{{description}}{% endblock %}
+{% block title %}
+ {%if repo.getDescription %}
+  {{repo.getDescription}}
+ {%else%}
+  {{repo.id}}
+ {%endif%}
+{% endblock %}
 
 {% block content %}
 <h1>{{repo.getDescription}}</h1>