{# Action Bar Component Combines breadcrumb navigation (left) with page actions (right) such as sharing with AI assistants. Usage: {% include 'partials/action-bar.html' %} Requires: page object in 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 %}
{% endif %}