{# trade-pro article detail — cms 文章详情设计移植(Task 10d)。 区块序列对照 D:/project/cms/runtimes/astro-site-runtime/src/pages/[locale]/news/[slug].astro (像素基准 dist/hesupipe/en/news//): 面包屑(hero 顶部)→ PageHero(眉题=分类 / h1 / 导语 / 封面底图 + brand-soft 罩) → meta 行(分类胶囊 · 发布日期 · 作者)→ 富文本正文 → 分隔线 → 作者卡 → 下一篇导航 → More News 相关盒(120px 缩略图 + 分类 + 标题)+ 深色侧栏 CTA + 返回列表(1fr + 300px 双列带)。 与 cms 的结构决策: 1. .pro-article-hero 平台契约类保留挂在 hero 上(test_theme_pro_v3 对所有 主题 article 页断言该类存在);pro-base 骨架的居中排版与巨型 h1 由 pro.css 的 article 作用域规则按特异性压平。 2. cms 的“下一篇”按全量列表顺序取模回绕、相关阅读同 tag 优先补位; 平台 groups['post'] 无稳定语义顺序,简化为:下一篇 = 排除自身后首条, 相关盒 = 其余文章取 3(与下一篇去重,小数据集不出现重复链接)。 3. 日期字段是 meta.fields.publish_date(blueprints 为 post 定义的发布日期 字段),YYYY-MM-DD 原串直出(cms 同款,不做本地化重排);作者缺省回落 “{site.name} Editorial Team”(cms 的 HESU Team 位)。 4. cms 正文区分富文本/纯文本双通道(纯文本首段 lead-para 放大);平台正文 统一走 body_copy(.pro-rich 基线 + pro.css 的 sf-tp-article-body 排版层), 无纯文本分支。 5. 页尾 CTA 横幅由 pro.html 的 .pro-end-cta 承担,cms 的 Cta 组件不重复。 #} {% set tp_others = groups['post']|rejectattr('route','equalto',page.route)|list %} {% set tp_next = tp_others[0] if tp_others else none %} {% set tp_related = tp_others[1:4] %}
{% if page.cover %}{% endif %}
{{ fields.get('category') or 'NEWS & INSIGHTS' }}

{{ page.title }}

{% if page.summary %}

{{ page.summary }}

{% endif %}
{{ body_copy(content, page) }}
{% if tp_next %} {{ tp_next.title }} {{ icon('arrow-right', cls='sf-tp-icon--sm') }} {% endif %}
{% if tp_related %}

More news

{% for p in tp_related %}
{{ cover(p, 'post') }}
{{ fields_of(p).get('category') or 'News' }} {{ p.title }}
{% endfor %}
{{ site.name }}

Ready to source with confidence?

Get a quote {{ icon('arrow-right') }}
{{ icon('arrow-left', cls='sf-tp-icon--sm') }} Back to news
{% endif %}