Play now:
{% set rcs = set() %}
{% for id in games %}
{% if games[id]["rcfile_path"] not in rcs %}
{{ games[id]["name"] }}
{% set rcs.add(games[id]["rcfile_path"]) %}
(edit rc)
{% else %}
{{ games[id]["name"] }}
{% end %}
{% if id != games.keys()[-1] %} | {% end %}
{% end %}