{# Page Hero - Editorial Variant Clean magazine-style layout without container styling: - Breadcrumbs as eyebrow (trimmed, no current page) - LLM share button aligned right - Large H1 title tight below breadcrumbs - Description - Inline metadata (read time, word count, updated) No border, background, or blob animations - just clean typography. Usage: Included via page-hero.html dispatcher Set hero_style: editorial in frontmatter or theme config #} {% from 'partials/navigation-components.html' import breadcrumbs with context %} {# Macro: Get page URL with fallback chain for robustness #} {% macro get_page_url(page) -%} {{ page._path if page._path is defined else (page.href if page.href is defined else '/') }} {%- endmacro %} {% if page %}
{{ page.metadata.get('description', '') }}
{% endif %} {# Inline Metadata #} {% set has_metadata = page.content or page.date or page.metadata.get('lastmod') %} {% if has_metadata %} {% endif %}