article

Render helpers for the Articles (Explainers) section — chip, card, lead card.

Updated 2026-08-23

On this page

macros/article.html is the Articles-section render-helper module — parallel to dispatch but for evergreen Explainers rather than time-anchored Dispatches.

Source: themes/bifrost/templates/macros/article.html

Public API#

{%/* import "macros/article.html" as article */%}

{{ article::chip(lang=detected_lang) }}
{{ article::card(page=page, lang=detected_lang) }}
{{ article::card_lead(page=entries | first, lang=detected_lang) }}

Macros#

MacroWhat
chip(lang)“Explainer” pill — the section-type sibling of the Dispatch chip.
card(page, lang)One Article in the chronological feed.
card_lead(page, lang)Lead Article card at the top of /articles/ — applies glass-cloud-card.

Edit this page on GitHub