if package has no icon, use default icon from client

closes #149
parent d85a23a3
......@@ -6,7 +6,11 @@ layout: default
<article class="package">
<header class="package-header">
{% if page.icon != "" and page.icon != nil %}
<img class="package-icon" src="{{ site.fdroid-repo }}/{{ page.icon }}" />
{% else %}
<img class="package-icon" src="{{ site.baseurl }}/assets/ic_repo_app_default.png " />
{% endif %}
<div class="package-title">
<h3 class="package-name">
{{ page.title }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment