Files
appimage.github.io/_layouts/post.html
T
2019-01-01 22:28:25 +01:00

45 lines
1.5 KiB
HTML

---
# This template holds the boilerplate before and after the application details
# on the product detail pages, but not the application-specific information itself
layout: default
---
{% assign post = page %}
<article class="post">
<header>
<h1 style="text-align:center" id="{{ post.title }}">
{% if post.icons[0] %}<img height="128" width="128" src="https://raw.githubusercontent.com/AppImage/appimage.github.io/master/database/{{post.icons[0]}}"/><br/>{% else %}{% endif %}
{% if page.title %}{{ page.title }}{% else %}{{ page.name | remove: ".md" }}{% endif %}</h1>
{% if post.generic %}<p>{{ post.generic }}</p>{% endif %}
</header>
<div class="entry">
{{ content }}
</div>
<footer>
<h3>Note for application authors</h3>
{% if post.appdata %}
{% else %}
<p>Thanks for shipping AppStream metainfo inside your AppImage. Please open a pull request on <a href="https://github.com/AppImage/appimage.github.io/blob/master/data/{{ page.name | remove: ".md" }}">https://github.com/AppImage/appimage.github.io/blob/master/data/{{ page.name | remove: ".md" }}</a> if you change it and would like to see this page updated.</p>
{% endif %}
{% if post.appdata.Url.donation %}
{% else %}
<p>If you would like to see a donation link for the application here, please include one in the AppStream data.</p>
{% endif %}
<p><a href="https://github.com/AppImage/AppImageHub/commits/master/{{ page.path }}"><span class="octicon octicon-mark-github"></span> History of this page</a></p>
</footer>
{% include disqus.html %}
</article>