article
Render helpers for the Articles (Explainers) section — chip, card, lead card.
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#
| Macro | What |
|---|---|
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. |
Related#
- Dispatch macros — parallel module for the Newsroom section.