{% if post.links %}
{% for link in post.links %}
{% case link.type %}
{% when "Launchpad" %}
{% assign prefix = "https://launchpad.net/" %}
{% when "Download" %}
{% assign prefix = nil %}
{% assign octicon = "octicon-desktop-download" %}
{% when "GitHub" %}
{% assign prefix = "https://github.com/" %}
{% assign octicon = "octicon-mark-github" %}
{% when "Twitter" %}
{% assign prefix = "https://twitter.com/" %}
{% when "Google+" %}
{% assign prefix = "https://plus.google.com/" %}
{% when "Bitbucket" %}
{% assign prefix = "https://bitbucket.org/" %}
{% when "Build" or "License" %}
{% assign prefix = nil %}
{% when "Screenshots" or "Videos" %}
{% continue %}
{% else %}
{% assign prefix = nil %}
{% assign octicon = nil %}
{% endcase %}
{% if octicon %} {% endif %}{% if link.name %}{{ link.name }}{% else %}{{ link.type }}{% endif %}
{% if forloop.last == false %} {% endif %}
{% endfor %}
{% endif %}
{% if post.appdata.Url.homepage %}
{{ page.name | remove: ".md" }} Website
{% endif %}
{% if post.appdata.Url.bugtracker %}
{{ page.name | remove: ".md" }} Bugtracker
{% endif %}
{% if post.appdata.Url.faq %}
{{ page.name | remove: ".md" }} FAQ
{% endif %}
{% if post.appdata.Url.help %}
{{ page.name | remove: ".md" }} Help
{% endif %}
{% if post.appdata.Url.donation %}
Donate
{% endif %}
{% if post.appdata.Url.translate %}
Help translating {{ page.name | remove: ".md" }}
{% endif %}