summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 90bef992..3729255b 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -41,10 +41,10 @@
<td>{{ pkg.repo.name|capfirst }}</td>
</tr><tr>
<th>Description:</th>
- <td>{{ pkg.pkgdesc }}</td>
+ <td>{% if pkg.pkgdesc %}{{ pkg.pkgdesc }}{% endif %}</td>
</tr><tr>
<th>Upstream URL:</th>
- <td><a href="{{ pkg.url }}">{{ pkg.url }}</a></td>
+ <td>{% if pkg.url %}<a href="{{ pkg.url }}">{{ pkg.url }}</a>{% endif %}</td>
</tr><tr>
<th>License:</th>
<td>{{ pkg.license }}</td>