{% set _atlasdocs = config.extra.atlasdocs | default({}) %} {% if not ("titleblock" in page.meta.hide) %}
{% if page.meta.logo %} {% endif %}

{% if page.meta and page.meta.title %} {{ page.meta.title }} {% elif page.toc %} {{ page.toc[0].title }} {% else %} {{ page.title | d(config.site_name, true) }} {% endif %}

{% if page.meta.contact_email %} {{ page.meta.contact_email }} {% endif %}
{% include "partials/actions.html" %}

{% include "partials/atlas_authors.html" %} {% if _atlasdocs.show_pagestatus %} {% include "partials/atlas_pagestatus.html" %} {% endif %} {% endif %} {# Source repo data for JS (SPA navigation updates the gitlab button from this) #} {# "Ask this site" chat widget — a fixed bottom-right hovering button (see chat_widget.js's #atlas-chat-fab: position:fixed, appended to , so it floats over the whole viewport regardless of scroll, not just this content column). Scopes /api/chat retrieval to this site's docs + its GitLab source files via the same repo_url the button above uses. Custom override, local-testing only for now: data-api-base points at a local atlas-search-backend (talking to a local Ollama), not a deployed one. Disabled for now — accidentally shipped to production before the backend was ready. #} {% if false %} {% endif %} {% if '') %} {% set ns = namespace(html='', skip=true, kept=false) %} {% for part in parts %} {% if ns.skip %} {% set ns.skip = false %} {% else %} {% if ns.kept %}{% set ns.html = ns.html + '' %}{% endif %} {% set ns.kept = true %} {% set ns.html = ns.html + part %} {% endif %} {% endfor %} {{ ns.html }} {% else %} {{ page.content }} {% endif %} {% include "partials/tags.html" %} {% include "partials/source-file.html" %} {% include "partials/feedback.html" %} {% include "partials/comments.html" %}