--- ### ALL PAGES ### layout: themes/[ site.theme.id ]/frontend/core/base ### PAGE CONFIG ### # Hero Section hero: headline: "The {{ site.brand.name }}" headline_accent: "wire" subheadline: "Discover insights, tutorials, and news from our team" # Newsletter CTA Section newsletter_cta: superheadline: icon: "envelope" text: "Newsletter" headline: "Never miss a" headline_accent: "story" subheadline: "Get the latest insights delivered straight to your inbox. No spam, unsubscribe anytime." button: text: "Subscribe" form: placeholder: "Enter your email" success_message: "Thank you for subscribing! Check your email to confirm." error_message: "Something went wrong. Please try again." --- {% comment %} NEWSFLASH BLOG INDEX The newspaper front page: serif masthead title + pill search, a framed lead story splash, an editorial tile grid for the rest of the page's posts, pill pagination, category/tag chips, and the vermilion newsletter slab. Preserves classy's contracts: paginator, /search/cse form, #newsletter-form + alert classes (wired by the main-layer page JS), and the adsense include. {% endcomment %}
The latest

{{ page.resolved.hero.headline }} {% iftruthy page.resolved.hero.headline_accent %} {{ page.resolved.hero.headline_accent }} {% endiftruthy %}

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

{{ page.resolved.hero.subheadline }}

{% endiftruthy %}
{% if paginator.posts.size > 0 %} {% assign lead = paginator.posts.first %}

Lead story

{%- uj_post lead.post.id, "image-tag", class="w-100" -%}
{% if lead.post.categories[0] %} {{ lead.post.categories[0] | uj_title_case }} {% endif %}

{{ lead.post.title }}

{%- uj_member lead.post.author, "name" -%} · {{ lead.date | date: "%b %d, %Y" }} · {% uj_readtime lead.content %} min read

Read the story {% uj_icon "arrow-right", "ms-1" %}
{% if paginator.posts.size > 1 %}

More stories

{% endif %} {% else %}
No dispatches yet

The presses are warming up

Check back soon for our first stories.

{% endif %}
{% if paginator.total_pages > 1 %} {% endif %}
{% include modules/adunits/adsense.html type="in-feed" %}
{% comment %} Build unique categories list (max 10) {% endcomment %} {% assign categories = '' | split: ',' %} {% for post in site.posts %} {% if categories.size >= 10 %} {% break %} {% endif %} {% for category in post.post.categories %} {% assign category_fixed = category | uj_title_case %} {% unless categories contains category_fixed %} {% assign categories = categories | push: category_fixed %} {% endunless %} {% endfor %} {% endfor %} {% comment %} Build unique tags list (max 10) {% endcomment %} {% assign tags = '' | split: ',' %} {% for post in site.posts %} {% if tags.size >= 10 %} {% break %} {% endif %} {% for tag in post.post.tags %} {% assign tag_fixed = tag | uj_title_case %} {% unless tags contains tag_fixed %} {% assign tags = tags | push: tag_fixed %} {% endunless %} {% endfor %} {% endfor %} {% if categories.size > 0 or tags.size > 0 %}
{% if categories.size > 0 %}

{% uj_icon "folder", "me-2" %} Categories

{% for category in categories %} {{ category }} {% endfor %} View all {% uj_icon "arrow-right", "ms-1" %}
{% endif %} {% if tags.size > 0 %}

{% uj_icon "tags", "me-2" %} Tags

{% endif %}
{% endif %}
{% iftruthy page.resolved.newsletter_cta.superheadline.text %} {% iftruthy page.resolved.newsletter_cta.superheadline.icon %} {% uj_icon page.resolved.newsletter_cta.superheadline.icon, "me-1" %} {% endiftruthy %} {{ page.resolved.newsletter_cta.superheadline.text }} {% endiftruthy %}

{{ page.resolved.newsletter_cta.headline }} {% iftruthy page.resolved.newsletter_cta.headline_accent %} {{ page.resolved.newsletter_cta.headline_accent }} {% endiftruthy %}

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

{{ page.resolved.newsletter_cta.subheadline }}

{% endiftruthy %}
{{ content | uj_content_format }}