Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
Fixed broken Twitter links
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandar Todorović committed Jun 22, 2015
1 parent aa60cd1 commit d3a8ca6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _includes/list_links.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
{% assign prefix = "https://launchpad.net/" %}
{% when "GitHub" %}
{% assign prefix = "https://github.com/" %}
{% when "Twitter" %}
{% assign prefix = "https://twitter.com/" %}
{% when "Google+" %}
{% assign prefix = "https://plus.google.com/" %}
{% when "Bitbucket" %}
Expand All @@ -16,5 +18,5 @@
{% assign prefix = nil %}
{% endcase %}
<a href="{{ prefix }}{{ link.url }}">
{% if link.name %}{{ link.name }}{% else %}{{ link.type }}{% endif %}</a>{% if forloop.last == false %}, {% endif %}
{% endfor %}
{% if link.name %}{{ link.name }}{% else %}{{ link.type }}{% endif %}</a>{% if forloop.last == false %}, {% endif %}
{% endfor %}

0 comments on commit d3a8ca6

Please sign in to comment.