--- ### ALL PAGES ### layout: themes/[ site.theme.id ]/frontend/core/base ### PAGE CONFIG ### # Hero Section hero: headline: "Follow the" headline_accent: "threads" subheadline: "Topics that run through our coverage — pick one and pull." --- {% comment %} NEWSFLASH BLOG TAGS Same data contract as classy's tags index (tags + counts built from site.posts), presented as a topics wall of pill buttons with volt counts. {% endcomment %}
{% uj_icon "tags", "me-1" %}Topics

{{ page.resolved.hero.headline }} {{ page.resolved.hero.headline_accent }}

{% iftruthy page.resolved.hero.subheadline %}

{{ page.resolved.hero.subheadline }}

{% endiftruthy %}
{% comment %} Build unique tags list with post counts {% endcomment %} {% assign tags = '' | split: ',' %} {% assign tag_counts = '' | split: ',' %} {% for post in site.posts %} {% for tag in post.post.tags %} {% assign tag_fixed = tag | uj_title_case %} {% unless tags contains tag_fixed %} {% assign tags = tags | push: tag_fixed %} {% comment %} Count posts for this tag {% endcomment %} {% assign count = 0 %} {% for p in site.posts %} {% for t in p.post.tags %} {% assign t_fixed = t | uj_title_case %} {% if t_fixed == tag_fixed %} {% assign count = count | plus: 1 %} {% break %} {% endif %} {% endfor %} {% endfor %} {% assign tag_counts = tag_counts | push: count %} {% endunless %} {% endfor %} {% endfor %}
{% for tag in tags %} {{ tag }} {{ tag_counts[forloop.index0] }} {% endfor %}
{% if tags.size == 0 %}
No topics yet

The threads start with the first story

Check back soon for tagged coverage.

{% uj_icon "arrow-left", "me-2" %}Back to the news
{% endif %}
{{ content | uj_content_format }}