Skip to content

Commit

Permalink
Fix item name rendering with no link
Browse files Browse the repository at this point in the history
  • Loading branch information
nikuda committed Oct 8, 2016
1 parent 883f022 commit b7d531c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,11 @@
<span class="{% if 'media' in game %}toggler{% else %}notoggler{% endif %}">&#x25b6;</span>

{%- if 'url' in game -%}
<a href="{{ game['url'] }}">{{ game['name'] }}</a>
<a href="{{ game['url'] }}">
{%- endif -%}
{{ game['name'] }}
{%- if 'url' in game %}</a>{% endif %}


{%- if 'repo' in game %} (<a href="{{ game['repo'] }}">repo</a>){%- endif %}

Expand Down

0 comments on commit b7d531c

Please sign in to comment.