diff options
Diffstat (limited to 'data/templates/display.htm')
| -rw-r--r-- | data/templates/display.htm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/data/templates/display.htm b/data/templates/display.htm index cabff59..ef2dccf 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -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> |
