def join_path(self, template, parent=None):
    if ':' in template:
      sep, template = template.split(':', 1)
      return "%s:%s/%s" % (sep, parent, template)
    elif parent in '/':
      return os.path.normpath(os.path.join(parent, '..', template))
    elif parent.endswith('.html'):
      return template

    return "%s/%s" % (parent, template)
dataset/ETHPy150Open nikcub/floyd/floyd/templating/jinja.py/JinjaEnviroment.join_path/swapped operands of `in`