{% set pct = (100 * host.count // (max_count or 1)) %}

{{ host.hostname }}

Links: {{ host.count }} Unique: {{ host.unique_link_count }}
{% if host.feed_url %} RSS / Atom {% endif %}
{% if host.top_links %}
Top links (mentioned > 1):
    {% for tl in host.top_links %}
  • {{ tl.count }} {{ tl.url }}
  • {% endfor %}
{% endif %} {% set list_id = "links-" ~ index %} {% set links = host.links %} {% set preview = links[:8] %} {% set remainder = links[8:] %}
Links:
    {% for url in preview %}
  • {{ url }}
  • {% endfor %}
{% if remainder %}
    {% for url in remainder %}
  • {{ url }}
  • {% endfor %}
{% endif %}