{% set max_content_items = consts.site_max_content_items %} {% set num_results = results.entries | length %} {% if num_results > 10 %}{% set num_results = 10 %}{% endif %}
    {% for r in results.entries | slice(end=num_results) %} {% set shareGuid = "s" ~ r.guid | split(pat="-") | first %}
  1. {{ r.content | join(sep=", ") }}

    {% if r.meta.audio %} {% endif %}
    {% if r.phones and r.phones | length > 0 %} ♪ {{ r.phones | join(sep=",") }} {% endif %}
    {% if r.tags and r.tags | length > 0 %} {% for tag in r.tags %} {{ tag }} {% endfor %} {% endif %}
    {% if consts.enable_submissions %} {% endif %}
    {% if r.relations and r.relations | length > 0 %} {%- set_global last_type = "" -%} {%- for d in r.relations -%} {%- set types = d.relation.types | default(value=[]) | join(sep=", ") -%} {%- if last_type != types or loop.first -%} {% if not loop.first %}
{% endif %}
  1. {%- for t in d.relation.types | default(value=[]) -%} {%- if t != "" -%} {%- set type_label = langs[d.lang].types | get(key=t, default="") -%} {%- if type_label %}{{ type_label }} {%- else %}({{ t }}){% endif -%} {%- endif -%} {%- endfor -%}
  2. {%- endif %}
  3. {{ d.content | join(sep=", ") }} {% if d.content_length > max_content_items or d.meta.synonyms %} {% endif %} {% if consts.enable_submissions %} {% endif %}
  4. {%- set_global last_type = types -%} {%- endfor -%}
{% endif %} {% endfor %}