Files
ferbal02andprobonopd b4258ae902 AppStream homepage link is not shown on application detail page (#2551)
* Update app_teaser.html

* Update list_links.html

Co-authored-by: probonopd <[email protected]>
2021-07-11 10:29:20 +00:00

48 lines
1.5 KiB
HTML

{% if post.layout != 'xxxxxxxx' %}
<a style="font-weight:bold" href="{{ site.baseurl }}{{ post.url }}">
{% endif %}
{% if post.screenshots %}
<div id="screenshots">
{% for screenshot in post.screenshots %}
<img src="{{ site.baseurl }}/img/windows/placeholder.png" data-src="{% if screenshot contains '://' %}{{screenshot}}{% else %}{{ site.baseurl }}/database/{{ screenshot }}{% endif %}" alt="Screenshot of {{ page.name | remove: ".md" }}" />
<noscript>
<img src="{% if screenshot contains '://' %}{{screenshot}}{% else %}{{ site.baseurl }}/database/{{ screenshot }}{% endif %}" alt="Screenshot" />
</noscript>
{% endfor %}
</div>
<p id="showcase" style="text-align:center">
{% for link in post.links %}
{% case link.type %}
{% when "Screenshots" or "Videos" %}
{% assign prefix = "{{ site.baseurl }}/database/" %}
{% else %}
{% continue %}
{% endcase %}
<a href="{{ prefix }}{{ link.url }}">
{% if link.name %}{{ link.name }}{% else %}{{ link.type }}{% endif %}</a>{% if forloop.last == false %}, {% endif %}
{% endfor %}
</p>
{% endif %}
{% if post.layout != 'xxxxxxxx' %}
</a>
{% endif %}
{% if post.appdata.Description.C %}
<blockquote>{{ post.appdata.Description.C }}</blockquote>
{% elsif post.description %}
<blockquote>{{ post.description }}</blockquote>
{% endif %}
{% if post.authors %}
<p id="authors">
<b>Authors</b>:
{% include list_authors.html %}
</p>
{% endif %}
<p id="links">
{% include list_links.html %}
</p>