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 9862db2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion games.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
- Flight Simulator
theme:
- Modern Military

clones:
- name: open-horizon
added: 2016-02-09
Expand Down
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 9862db2

Please sign in to comment.