--- ### ALL PAGES ### layout: themes/[ site.theme.id ]/frontend/core/base ### PAGE CONFIG ### # Hero Section hero: headline: "Blog" headline_accent: "tags" subheadline: "Browse posts by tag" --- {{ 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 %} {% uj_icon "tag", "fa-lg" %} {{ tag }} {{ tag_counts[forloop.index0] }} {% endfor %} {% if tags.size == 0 %} {% uj_icon "tags", "fa-4xl text-muted mb-3" %} No tags yet Check back soon for tagged content. {% uj_icon "arrow-left", "me-2" %} Back to blog {% endif %} {{ content | uj_content_format }}
{{ page.resolved.hero.subheadline }}
Check back soon for tagged content.